recent posts recent posts - RSS

13 days ago
Topic:
Testing Navision 2015 Soap APIs

George @StresStimulus
George @StresStimulus
Administrator
Posts: 132
When testing Web API, as opposed to web scenarios, as you correctly noted, recording may not be available. So, instead of the recorder you need to use Request Composer described here http://support.stresstimulus.com/display/doc49/Creating+Sessions+Using+Request+Composer

It allows to enter any HTTP requests including SOAP APIs and then adds them the session grid along with corresponding responses. After that, in the session grid, select all necessary requests -> right click > select Create test case, and a new test case with your API requests will be created http://support.stresstimulus.com/display/doc49/Adding+Deleting+and+Changing+Sessions

After that you can parameterize it if necessary and execute as any other test case.
13 days ago
Topic:
Testing Navision 2015 Soap APIs

Unregistered User
Unregistered User
Posts: 203
I need to test Navision 2015 Soap APIs (i.e. Pages like Vendor, Customer etc). I have exposed few SOAP APIs from NAVISION 2015. is there a way to test them. I can not record and play them.
19 days ago
Topic:
Support for the latest version of Chrome.

George @StresStimulus
George @StresStimulus
Administrator
Posts: 132
We added support for the latest Chrome 64.0 in the version 4.9 available here https://www.stresstimulus.com/download





If you do not want to upgrade, you can create support for the latest Chrome in 4.7 by using custom browser option as follows:



Select existing browser (for instance Chrome 49.0) and change properties in the grid below
  • In Browser Type enter Chrome 64.0
  • Change Replace User-Agent string to Yes
  • In the User-Agent field type: Mozilla/5.0 (Windows NT 6.1; Win64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36

  • See also http://support.stresstimulus.com/display/doc49/Browser+Settings
    19 days ago
    Topic:
    Support for the latest version of Chrome.

    Unregistered User
    Unregistered User
    Posts: 203
    The application that I am currently testing has to be recorded and replayed in Chrome browser. But when I configure the test and select Chrome, the versions displayed are very old. The chrome version on my machine is 63 and in ST, the highest version is 49. I am using StresStimulus 4.7.6.


    21 days ago
    Topic:
    Move requests to a different transaction

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 132
    To move requests from one transaction to another, select the requests you want to move and drag and drop them into the target transaction. http://support.stresstimulus.com/display/doc49/Test+Case+Object+Hierarchy


    If you make a mistake just hit Ctrl+Z to undo the move.
    21 days ago
    Topic:
    Move requests to a different transaction

    Unregistered User
    Unregistered User
    Posts: 203
    We want to adjust a script.

    We have found some requests are in the wrong transaction, probably because the page was still loading when we changed the transaction name during recording.

    How can I move these requests from one transaction to another?
    7/17/2018
    Topic:
    Request returning text/plain instead app/js

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 132
    It looks like the server sending back an incorrect content-type due to an issue in one of the previous requests.

    Typically StresStimulus fully auto-correlates scenarios recorded against a default installation of MS Dynamics FO 365 and replays them without errors out-of-the-box.

    Did you verify your script and did you received any errors or warnings? http://support.stresstimulus.com/display/doc49/Verifying+the+Test+Case

    Resolving them is described here http://support.stresstimulus.com/display/doc49/Resolving+Errors+and+Warnings

    It is likely that an autocorrelation rule is missing in your script. Unfortunately without looking a script will be difficult to suggest how to create an extractor and a parameter.

    I can privately email you a link for scheduling a support session where our staff will fix your script, if OK.

    -Cheers
    7/17/2018
    Topic:
    Request returning text/plain instead app/js

    bruno
    bruno
    Posts: 1
    Hi,

    I'm testing an MS Dynamics Finance and Ops app and one of the requests for a javascript is coming back as text/plain instead of application/javascript.

    This is causing the request to take a much longer time than in reality.

    I've tried forcing the GET request to accept only application/javascript, but then it causes a 406 error (it works on POSTMAN).

    Any ideas on why StresStimulus is getting a different response than POSTMAN and manually accessing the app?

    Cheers
    6/12/2018
    Topic:
    Server Reinstalled unable to activate/deactivate

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 132
    Do you know if your serial number was previously activated online, or a license file was emailed to you?

    Depending on that there will be a different resolution procedure.

    Also, can I privately email you a link for submitting urgent issues?

    -Cheers
    6/12/2018
    Topic:
    Server Reinstalled unable to activate/deactivate

    aadilhussain
    aadilhussain
    Posts: 1
    Dear Team,
    The server/computer name changed due to some reason. now the license is not getting activated/deactivated. Urgent help is required in this regard.

    Regards
    Adil
    5/15/2018
    Topic:
    Extractors are not visible when create a parameter

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 132
    All extractors shown on the 1st screenshot are created by StresStimulus for the purpose of autocorrelation. StresStimulus will use them to automatically create parameters.

    Because the number of such extractors can be quite large, by default they are not visible in the variable picker so the user can easier see their own extractors. To unhide an autocorrelation extractor, select it and change its property Hidden from True to False.





    After that, this extractor will show up in the variable picker that you can use in all parameterization controls http://support.stresstimulus.com/display/doc47/Parameterization+Controls
    5/15/2018
    Topic:
    Extractors are not visible when create a parameter

    Unregistered User
    Unregistered User
    Posts: 203
    We have many extractors in the extractor tree.




    However, when we are trying to add a parameter in free text we can not see them when we right click on any value to replace it with a parameter.

    5/12/2018
    Topic:
    Distribute load across multiple machines

    Unregistered User
    Unregistered User
    Posts: 203
    Do you have any documentation on how to distribute a load test across multiple StresStimulus installations?
    5/12/2018
    Topic:
    Distribute load across multiple machines

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 132
    Distributed testing is described here http://support.stresstimulus.com/display/doc48/Distributed+Testing
    It includes the following steps:
    1. Install the same StresStimulus software on a controller machine and all agent machines
    2. On agent-machines switch to the agent mode http://support.stresstimulus.com/display/doc48/Configuring+Agent
    3. Attach agents to the controller http://support.stresstimulus.com/display/doc48/Attaching+Agents+to+Controller
    4. Specify how to distribute the load http://support.stresstimulus.com/display/doc48/Configuring+Load+Distribution
    5. Run the test
    4/30/2018
    Topic:
    CSV Dataset and End of File

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 132
    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 132
    Topic: CSV Dataset and End of File
    The workaround with the validators can be used if the value from the dataset included in a request, is then sent back in one of the subsequent responses. For example, the request contains a person’s name to create a new record, and then the response includes this name to confirm that the record is created. If your application does not work this way, then you may need to write custom code.

    StresStimulus does not have direct support for the requirement to stop the test when the end of a particular dataset is reached because it does not seem to be a typical requirement for load testing.


    Can you explain why you need this requirement, is it for performance testing?
    4/30/2018
    Topic:
    CSV Dataset and End of File

    ruchi
    ruchi
    Posts: 4
    Thanks for the information.

    But isn't validator for validating response? Here, I need to check 'End-Of-File' String in my CSV dataset that will be sent as parameters in requests.
    4/27/2018
    Topic:
    CSV Dataset and End of File

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 132
    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 132
    Topic: CSV Dataset and End of File
    There is no direct support for adjusting test duration based on the size of a dataset, but there are two possible workarounds that I can think of


    1. In your datasets always have the last record that has a specific value in one of the fields, for example, "end-of-data set". Then create a custom validator that checks for that value and stops the test http://support.stresstimulus.com/display/doc48/Response+Validators


    2. You can write your scriptable component that programmatically determines the size of a data set and based on that adjusts a test duration or loop duration http://support.stresstimulus.com/display/doc48/Creating+External+Components


    Unfortunately, we did not provide support for developing scriptable components on the public forum.
    4/26/2018
    Topic:
    CSV Dataset and End of File

    ruchi
    ruchi
    Posts: 4
    I need to iterate over the dataset that is given as csv file. Now I know that i can create a loop and insert Number of Iterations to the total number of records in my dataset. But i do not want the user to update number of iterations everytime the csv file is changed. Is there any way of finding End of file of CSV ? If yes, then how can i insert that in my request so that my request gets parametrized with subsequent rows of the dataset?
    4/23/2018
    Topic:
    Credentials when attaching an agent

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 132
    You need to provide credentials of the agent, so controller can access it. It is recommended to use an administrator account or another with sufficient privileges.
    4/23/2018
    Topic:
    Details of Parametrized requests

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 132
    The purpose of Verify is to check that your script works correctly. So it only executes one iteration at a time, and every iteration will consume only one value from the dataset. Because you use Iteration-Request databinding method, Verify will always consume 1st record from the data set. To see the 2nd (or any other) dataset record being used, instead of Verify you need to actually run a test as follows:


    1. Select steady load with 1 VU x 2 iterations.
    http://support.stresstimulus.com/display/doc48/Load-Pattern and http://support.stresstimulus.com/display/doc48/Number+of+Iterations





    2. After test completes open the Query log and in the sessions textbox enter 276 (in your test it will be 54) and click Show Sessions http://support.stresstimulus.com/display/doc48/Querying+the+Test+Log




    3. In the Sessions Grid you should see 2 replayed #276 sessions. One for first iteration and one for second.




    4. Right click on the second one and select Compare with matching recorded session




    5. A similar compare session inspector will appear and you can see the second value.



    As you can see, StresStimulus provide full visibility to every request and response executed during a performance test, regardless how large it is. It also provides a quick way to compare replayed session with the recorded one.


    -Cheers




    Copyright © 2018 Stimulus Technology