recent posts recent posts - RSS

6 days ago
Topic:
StresStimulus v4.9.6883 - not responding, crashing

George @StresStimulus
George @StresStimulus
Administrator
Posts: 401
Hi Jesheena,

This message is a general exception error in your v 5.2 instance that is now two versions behind the latest version, v 5.4.
It was likely already reported and fixed. Install v 5.4 and try again.

- Cheers
8 days ago
Topic:
Matching Random Extractors

George @StresStimulus
George @StresStimulus
Administrator
Posts: 401
George @StresStimulus
George @StresStimulus
Administrator
Posts: 401
Topic: Matching Random Extractors
Thanks for letting me know.

The jpath query looks good, however, I don’t know exactly how your response json looks like to verify that your query is accurate.

One thing I can think of, since you are creating a dynamic extractor, make sure to set the Is the extractor dynamic? property to Yes



Also, make sure you are using StresStimulus v5.4 as dynamic jpath extractors were added in that version.

- Cheers
8 days ago
Topic:
StresStimulus v4.9.6883 - not responding, crashing

Jesheena Kaur
Jesheena Kaur
Posts: 1
Hi George,

We have updated the StresStimulus to version 5.2.7550. Unfortunately, we are still experiencing the same issue. Sometimes it occurs once or twice a day, sometimes after 1 or 2 days.

Any idea?

Thanks,
Jesheena
9 days ago
Topic:
Matching Random Extractors

sachpatel
sachpatel
Posts: 11
Hi George,

Thank you for the response. I followed the steps. However, the dynamic extractor is not returning a value. The below provides more detail:

Extractor 1: ext_purposeId (Regular Expression) - This extracts the fos_purposeid from a previous request (to the one below).
Extractor 2: ext_purposeName (Dynamic extractor, first occurrence). $.[?(@.fos_purposeid == {{ext_purposeId}}].fos_name

JSON snippet
"fos_purposeid":"851a66af-be0e-eb11-a813-0022481ae203","fos_name":"ADR highly complex notice - s75 Covid-affected (bulk)"


Is there something wrong with that?
10 days ago
Topic:
Matching Random Extractors

George @StresStimulus
George @StresStimulus
Administrator
Posts: 401
George @StresStimulus
George @StresStimulus
Administrator
Posts: 401
Topic: Matching Random Extractors
It sounds like you want to create 2 extractors with the same random occurrence. The way to accomplish this is to create the following 2 extractors:
  • An extractor with a random occurrence to extract an ID.
  • A dynamic extractor with the first occurrence that has the extracted value of the first extractor in the definition.

I don’t know how your response looks but for example let’s say you have a json response as follows:

[
{
“id”: 1,
“name”: “Mike”
},
{
“id”: 2,
“name”: “Sally”
},
{
“id”: 3,
“name”: “April”
}
]

You can create 2 extractors as follows:
  • Regular expression extractor named ID and random occurrence with the following definition: “id”(\d+)
  • Jpath dynamic extractor named Name with first occurrence with following definition: $.[?(@.id =={{ID}}].name
11 days ago
Topic:
Matching Random Extractors

sachpatel
sachpatel
Posts: 11
Hi,

I had the following query. When obtaining two extractors from the same request (for example, ext_ID and ext_name). The occurrence type is set to random. The extractors cannot be combined. How can I link the random extractor that is selected for the ID and is linked with the ext_name, i.e. the random index value is the same for both extractors?

Thank you.

Regards,
Sachin
6/22/2021
Topic:
Authentication Issues due to password change.

George @StresStimulus
George @StresStimulus
Administrator
Posts: 401
You need to change the password in the recorded script. Here are the steps to do that:
1. Find the recorded password in the test by searching for it as described https://support.stresstimulus.com/display/doc53/Searching+Test+Case+Tree
2. Edit the password using the session inspector as described https://support.stresstimulus.com/display/doc53/Inspecting+Sessions
3. An alternative to step 2, you can create a dataset https://support.stresstimulus.com/display/doc53/Creating+Datasets with the new passwords and create a parameter to replace the recorded password as described https://support.stresstimulus.com/display/doc53/Creating+a+Parameter
6/22/2021
Topic:
Authentication Issues due to password change.

Unregistered User
Unregistered User
Posts: 393
I am getting an error while re-running the recorded script as the password of the users were updated due to password expiry policy. Kindly suggest a solution to overcome this issue.
6/12/2021
Topic:
Merge scripts and reuse auto-correlation.

George @StresStimulus
George @StresStimulus
Administrator
Posts: 401
It sounds like you want to copy the new login Transaction from one script to another and then auto-correlate all login tokens from the login transaction to the old script.
Autocorrelation works on session token values found in the recorded requests and responses. Since the new login was recorded on a different user session, its tokens will not match other tokens in the test case. Therefore autocorrelation will not work.
In this case, you would need to try correlating manually.

As an additional comment: If you are replacing the login transaction because your application's security changed and the old login script is no longer compatible with the server, some other consequences could come up. The other transactions in the scripts recorded with the previous login schema may often become incompatible with the server, as the new security schema can impact the script beyond the login. In such situations, the manual correlation may not work either, and you would need to re-record the entire script.
6/12/2021
Topic:
Merge scripts and reuse auto-correlation.

Unregistered User
Unregistered User
Posts: 393
Suppose I try to merge login of one script to another script or in current working script I add content of another script. Certain parameters were correlated in previous script and there same things are required to be correlated with new script values. How do I do that?
5/22/2021
Topic:
How to add header to the request?

George @StresStimulus
George @StresStimulus
Administrator
Posts: 401
To add a request header to a StresStimulus request:
1. Right-click on the request in the test case tree > Edit Session


For more information on modifying recorded requests see https://support.stresstimulus.com/display/doc53/Inspecting+Sessions



2. In the session, the inspector add the header and click the Save session changes button
5/19/2021
Topic:
Stress Testing - Low requests/sec

George @StresStimulus
George @StresStimulus
Administrator
Posts: 401
You can increase the request rate by minimizing:
You can also increase the request rate by increasing the number of VUs. Just keep in mind that with a large number of VUs, the load engine can overload your machine, so you may need to use more load agents.

However, you cannot control your server’s performance. StresStimulus emulates physical browsers that send subsequent requests after receiving previous responses from the server. Because of that, the request per second depends on your server's ability to return responses.

Regarding comparison with JMeter: before comparing two test results, you need to have all critical settings identical. For example:
  • Request concurrency should be the same. You can change request concurrency in StresStimulus as described here
  • Make sure that the correlation in JMeter is correct and the transactions are executed correctly. Failing transactions are executed faster and can create the impression of a higher hit rate.

Also, if you noticed that the request rate was higher some time ago and got lower now, analyze changes in the script, your environment, and the application between these two moments.
You can contact your support rep to examine your test result that exposes the intricacy of factors impacting request rate and settings that should be adjusted.


- Cheers
5/18/2021
Topic:
Stress Testing - Low requests/sec

KurtLJMU
KurtLJMU
Posts: 1
Hi,

I am running some stress testing on a web portal. However I am experiencing some inconsistent behaviour with how StressStim is generating requests.

Initially I was able to successfully generate approx. 3.5 requests per second with 50 VU's. This caused the expected errors we were trying to recreate however since then it seems StressStim is not generating requests at the necessary speed its now about 0.5 requests a second with the same test and number of VU's.

I've tried multiple settings but nothing seems to be making the required change. I have recreated this test in JMeter and that is also generating far more requests with the same number of users in the same time frame.

Can anyone point me in the right direction?

Thanks
5/12/2021
Topic:
How to add header to the request?

Unregistered User
Unregistered User
Posts: 393
How to add headers in stress stimulus.
Pls find below the headers value-
Name-x-api-key
Value- sX3yc0LS6F2yjYEOdbrYo881o37Am6xL4oIGGabe
When I am hitting the URL through browser that time Mod header adding on browser then the result displays.
Similarly how can I add headers on stress stimulus?
4/27/2021
Topic:
Potential Bug with Server Authentication

George @StresStimulus
George @StresStimulus
Administrator
Posts: 401
It looks like you reported an issue that your script works on lower load levels and fails on higher load levels. Further, you suggest that a potential StresStimulus bug causes the issue because your other script works on the higher load levels.

Generally, tests can fail for the following two main reasons:
  • Script misconfigurations
  • Application, instability, or failure to handle the load.

  • I didn't find anything in your post that would lead to the suspicion that StresStimulus has a bug.

    I recommend contacting your support rep and seek assistance with your script configuration. However, if you still believe that you found a bug, please provide a methodology for replicating the issue.


    - Cheers
    4/27/2021
    Topic:
    Potential Bug with Server Authentication

    mwatte
    mwatte
    Posts: 10
    There seems to be a potential bug running a load test of 3 different applications, on the same host, simultaneously following the below scenario:

    Test Case 1 - Application 1 utilizes form authentication
    Test Case 2 - Application 2 utilizes form authentication
    Test Case 3 - Application 3 utilizes server authentication

    When running a Steady Load of 30 users - 10 per application, all users are authenticated successfully.

    When increasing the load test to 45 users - 15 per application, all users utilizing form authentication are authenticated successfully. However, the test case utilizing server authentication, only a subset of users are getting authenticated, meaning not all 15 users are authenticated.

    Just to note, the application using server authentication (Test Case 3) can handle more than 15 users as I was able to successfully run a load test of 50 users just executing this test alone.

    Version 5.3.7670 x64 CLR 4.0








    4/26/2021
    Topic:
    Adding Load generator error

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 401
    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 401
    Topic: Adding Load generator error
    The controller of the machine is having connection issues to the load agent machine. It is most likely caused because of firewall on the agent machine. Make sure the port 49998 is open on the firewall on the agent machine.
    4/26/2021
    Topic:
    Adding Load generator error

    Unregistered User
    Unregistered User
    Posts: 393
    When I am trying to add one Load generator receiving below error –









    Checked both system ports. Same error. Pls help me to remove the error.
    4/22/2021
    Topic:
    How to avoid duplicates when using dataset?

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 401
    This behavior is by design and here is why and how to avoid it:


    I am assuming you are using VU-Iteration-Bound binding for your dataset. The formula that calculates which record will be used (https://support.stresstimulus.com/display/doc53/Databinding ) is
    Record Row number = (Iteration #) * (Max VUs) + (VU #)


    When you set the How to count iterations property to Total, you do not guarantee that every iteration will get an equal number of iterations. If VU1 executes ten iterations, then on the 10th iteration, it will use the 301-st record, but since you only have 210 records, the scripts will re-use the top records.


    I suggest setting the VU-to-row mapping to On-Demand described https://support.stresstimulus.com/display/doc53/Default+databinding and try rerunning the test.`



    4/22/2021
    Topic:
    How to get transaction response times for each act

    George @StresStimulus
    George @StresStimulus
    Administrator
    Posts: 401
    There are two ways to get the transaction response times for each iteration:
    • You can query the database and open the Activity table that is described https://support.stresstimulus.com/display/doc53/Activity
    • Open the Activity diagram for a particular transaction -> right-click > select Export to CSV… to save the .csv file with all iteration times for the transaction https://support.stresstimulus.com/display/doc53/VU+Activity+View




    Copyright © 2021 Stimulus Technology