recent posts recent posts - RSS

4 days ago
Topic:
Cookie Management

George @StresStimulus
George @StresStimulus
Administrator
Posts: 511
George @StresStimulus
George @StresStimulus
Administrator
Posts: 511
Topic: Cookie Management
By default, cookies are correlated and reused automatically on subsequent iterations as described https://support.stresstimulus.com/display/doc57/Test+Case%3A+Session+Persistence.
You can find more information on how StresStimulus handles request cookies and correlation from https://support.stresstimulus.com/display/doc57/Cookie+correlation and https://support.stresstimulus.com/display/doc57/Cookies+to+send
5 days ago
Topic:
unique number in every request

George @StresStimulus
George @StresStimulus
Administrator
Posts: 511
You can use data generators (described https://support.stresstimulus.com/display/doc57/Data-Generators) in StresStimulus to generate a unique number.
1. Create an integer data generator.
  • Set the Min Value and Max Value to define the range of possible values. For example, if you want a random 7 digit number, then set Min value to 1000000 and Max value to 9999999
  • Set the When to Evaluate property to On-request to generate a new random number on every request.





  • 2. Parameterize the recorded unique numbers in each request with the data generator. To create all parameters at once follow the steps described https://support.stresstimulus.com/display/doc57/Creating+Multiple+Parameters+at+Once. You can create the parameters by using regular expressions or wild cards.
    5 days ago
    Topic:
    Cookie Management

    Unregistered User
    Unregistered User
    Posts: 475
    I’d like to know more about how StresStimulus handles cookies. My goal is to setup a configuration, that allows virtual users to have their own cookie container. Each cookie should be reused for every iteration. So for a test run with 4 VU and 4 Iterations, 4 Cookies should be set overall. Is this the default behavior of StresStimulus? If not, which steps should be taken?
    5 days ago
    Topic:
    unique number in every request

    Unregistered User
    Unregistered User
    Posts: 475
    Am executing script with 100 requests and each request should have unique number. How to simulate that for each submission unique number should be generated.
    5 days ago
    Topic:
    Dynamics nav 2015 is not creating a record

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 511
    Your test has a scripting issue.
    One possibility is if your application has a duplicate constraint, then you must parameterize the recorded values before running a test to avoid duplicates. First, decide what source variable (described https://support.stresstimulus.com/display/doc56/Variables) type you would like to use, for example, a data generator (described https://support.stresstimulus.com/display/doc56/Data-Generators) or a dataset (described https://support.stresstimulus.com/display/doc56/Creating+Datasets). After that, parameterize the recorded date and time by creating the appropriate parameters as described here https://support.stresstimulus.com/display/doc56/Creating+a+Parameter.

    Another possibility is that your script is missing some manual correlation. Here are the references for the manual correlation:
    If you need our assistance to fix your script, then:
    • if you are an existing customer, contact your support rep
    • if you are evaluating StresStimulus, you can schedule a test configuration session to complete a POC


    - Cheers
    6 days ago
    Topic:
    Dynamics nav 2015 is not creating a record

    laxmikanth
    laxmikanth
    Posts: 1
    Hello, I'm using Dynamics Nav 2015 "unlicensed" version. When I try to run a test using stress stimulus, no records are created in "Nav," yet the recording is completed and the output result is indicating pass.
    18 days ago
    Topic:
    Reached Maximum database capacity

    Unregistered User
    Unregistered User
    Posts: 475
    While running the test with 100 users with controller as load generator. Getting displayed below error popup message.



    27 days ago
    Topic:
    Stimulate incognito mode

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 511
    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 511
    Topic: Stimulate incognito mode
    The Request cookies to send property controls what cookies will be sent in the request as described https://support.stresstimulus.com/display/doc57/Cookies+to+send
    In order to simulate incognito mode, set the property to None
    28 days ago
    Topic:
    Stimulate incognito mode

    Unregistered User
    Unregistered User
    Posts: 475
    We are looking to simulate incognito mode in SS.

    We are using Cache-control Disabled in SS already but still seeing cookies sent in the replayed request. How can we remove the cookies from the request?
    5/4/2023
    Topic:
    Access denied - when trying to record a script

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 511
    It sounds like your application uses Server credentials to log in. By default, during recording, StresStimulus uses your Windows user credentials for authentication.
    To input different credentials during recording, do the following steps as described https://support.stresstimulus.com/display/doc57/Other+Recording+Options:
    1. In the Recording source dialog, click Other Options… button







  • In the Other Recording options dialog, select Recording Credentials on the left and uncheck the Automatically Authenticate checkbox
  • Start recording again and input the proper credentials when prompted.
  • 5/4/2023
    Topic:
    Access denied - when trying to record a script

    Unregistered User
    Unregistered User
    Posts: 475
    During recording StresStimulus is using the wrong credentials for login. How can I get the credentials dialog box to show up.
    5/3/2023
    Topic:
    NonUI test start error log

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 511
    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 511
    Topic: NonUI test start error log
    Test tracing will only start when the test begins.
    One possible suggestion is reading the exit code from the StresStimulus application that is described here https://support.stresstimulus.com/display/doc57/Command+line+interface+for+Standalone+version

    The no UI mode will return the following exit codes:
    • 0 when the test successfully starts and passes the test pass criteria
    • 1 when the test successfully starts but fails the test pass criteria
    • 2 when the test does not start. The Console.The error will contain the error message
    To start StresStimulus and redirect the Console.Error to a log file uses the following command line:
    StresStimulus.Application /noui {test file} 2> error.txt
    5/3/2023
    Topic:
    NonUI test start error log

    Unregistered User
    Unregistered User
    Posts: 475
    Is there a way to trace failed non-ui test starts? I have situations where my scheduled test will not start, and I would like to see some log files.
    5/1/2023
    Topic:
    Multiple random extractors from same record

    Unregistered User
    Unregistered User
    Posts: 475
    We have a requirement to extract multiple values from a single random JSON record. I know we can use Random extractor but if we create multiple random extractors then they are not guaranteed to be from the same record. How can we create multiple random extractors from the same record?
    5/1/2023
    Topic:
    Multiple random extractors from same record

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 511
    In order to create multiple random extractors with the same occurrence, you need to do the following:
    1. Create a single extractor with a random occurrence that returns the entire record. Call this extractor EntireRecord
    2. Then right-click on the extractor and select Create Extractor to create an extractor for bookableForRommTimetable as described https://support.stresstimulus.com/display/doc57/How+to+create+an+Extractor
    4/3/2023
    Topic:
    Reached Maximum database capacity

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 511
    It looks like you running out of space in your SQL Server CE database file (the limit is 4GB). There are two recommendations the following remedies (you can do both of them):
    4/3/2023
    Topic:
    What does ramp-down feature do?

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 511
    Ramp-down functionality is described here https://support.stresstimulus.com/display/doc57/Step+Load. It is essentially a ramp-down ending to a test.
    The difference between Wait for iterations to complete and Ramp-down and wait for iterations to complete is as follows
    · Wait for iterations: After the run duration elapsed, the test will be over when every VU currently running finishes its current iteration. I.e., every VU is “marked for completion”.
    · Ramp-down and wait for iterations to complete: After the run duration has elapsed, the test will continue. Then, for every period (determined by the Step Duration property), some number of VUs (determined by Step VU Increase property) will be marked for completion.
    4/2/2023
    Topic:
    Script failing on subsequent iterations

    Unregistered User
    Unregistered User
    Posts: 475
    In one of our application, once we logout of application we land up in a landing page. Next time when the user launches the application without clearing the cache, the same landing page is shown. But when the user tries to launch the application after clearing the cache the actual login screen will be shown.
    When we try to replicate same scenario of clearing the cache after every logout by setting the cache control to “Disabled” as shown in the below snapshot, we are still landing up on the landing page and all our scripts are failing every time after the first iteration.
    Is it a right way of clearing the cache or is there any other alternative to clear the cache after every logout?
    4/2/2023
    Topic:
    What does ramp-down feature do?

    Unregistered User
    Unregistered User
    Posts: 475
    Could you please explain what this option does?
    4/2/2023
    Topic:
    Script failing on subsequent iterations

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 511
    The reason that the script is failing on subsequent iterations is probably that, by default, the HTTP session persists between iterations.
    To clear the HTTP session between subsequent iterations, set the Cookie correlation scope property to None as described https://support.stresstimulus.com/display/doc57/Test+Case%3A+Session+Persistence





    Copyright © 2023 Stimulus Technology