12/4/2022
Topic:
Setting of dataset to pick unique value
Unregistered UserPosts: 454
|
Can you please help me to know what setting I should keep in dataset so that if 60 concurrent users are login and we have 100 data in dataset file all should pick a unique value in each iteration as the data is not reusable.
|
|
|
11/23/2022
Topic:
How to Pick A Random Value from Extractor
George @StresStimulusAdministrator Posts: 488
|
You will need a random extractor that is described https://support.stresstimulus.com/display/doc54/Emulating+Clicks+on+Random+Links For your situation, create a text delimited extractor with the following properties: - Text before: Userid=
- Text after: ‘
- Occurrence type: Random
- Min occurrence: 1
- Max occurrence: 10
|
|
|
10/28/2022
Topic:
How to use a random extractor as a parameter
George @StresStimulusAdministrator Posts: 488
|
It sounds like you are creating 4 different extractors, with 4 different names, and then trying to pick one at random and use as a parameter. If this is the case, you will need to create a scriptable variable (described https://support.stresstimulus.com/display/doc54/Scriptable+Variables) and then use it to parameterize the request. Here are the steps: /// <summary> /// Return a value for the given session context. /// </summary> /// <param name="session">The session context object of the request consuming the variable.</param> /// <returns>The source variable value.</returns> string IExternalVariable.GetValue(SessionContext context) { var rnd = new Random(); return context.ExtractorRuntime.GetExtractorValue("id" + rnd.Next(1, 5)); }
|
|
|
10/28/2022
Topic:
How to use a random extractor as a parameter
Unregistered UserPosts: 454
|
Using multiple extractors randomly. In a particular request , 4 IDs are extracted from 4 responses (id1, id2, id3, id4). Would like to know if id1,id2,id3 and id4 can be used in random order in subsequent request. (i.e., id1 during 1st iteration, id2 during 2nd iteration and so on)
|
|
|
10/23/2022
Topic:
Replace all parameters using one dataset
George @StresStimulusAdministrator Posts: 488
|
Here are the steps to replace all parameters Credentials.Username with Credentials2.Username. Here are the steps: - In the test case tree, find one of the parameters that uses Credentials.Username > right-click > Edit Parameter
- n the dialog make sure you are viewing the parameter in the Parameterization Editor. If not click Switch to Parameterization Editor view
|
|
|
10/23/2022
Topic:
Replace all parameters using one dataset
Unregistered UserPosts: 454
|
Would like to know if there is an option to search all the occurrences of a specific dataset parameter and replace all the occurrences with another dataset?
|
|
|
10/19/2022
Topic:
Cannot start recording proxy on the specified port
George @StresStimulusAdministrator Posts: 488
|
The error message says that port 49386 is busy on your system so StresStimulus cannot use it for recording. There a few workarounds I can suggest: - Reboot the machine and open StresStimulus again. Check if you can record a test case in StresStimulus on this port.
- Change the 49386 port to some other value (for example 9999) that is not used on your system, then click OK. Check if you can record a test case in StresStimulus on this port.
- In some situations, you may need Administrator privileges to start a proxy listener. In such cases, run StresStimulus as an Administrator and try recording a test case.
|
|
|
10/17/2022
Topic:
Use authentication grid for parameterization
George @StresStimulusAdministrator Posts: 488
|
The Authentication section is used for server authentication (such as NTLM and Kerberos) as described https://support.stresstimulus.com/display/doc54/_Authentication If your application does not use server authentication but uses application authentication, then you will need to: - Create a credentials dataset
- Populate the dataset by entering data, pasting data (from Excel), or importing a .csv file.
- Find and parameterize the recorded credentials with the dataset.
- All the steps are described https://support.stresstimulus.com/display/doc54/_Authentication in the Application Authentication section.
As a side note, every organization that uses D365 can use different authentication procedures. In the previous project, the organization probably used server authentication. The current project probably uses application authentication. Unfortunately, in StresStimulus, you can’t use the Authentication section to parameterize application authentication.
|
|
|
10/17/2022
Topic:
Use authentication grid for parameterization
Unregistered UserPosts: 454
|
I am recording the scripts for MS Dynamics 365 (CRM), and I have a query about SS’s Authentication node. In my previous project, I used SS to record the script for the CRM application. I added the CRM login details in the Authentication node, and the scripts worked. The scripts were able to pick the users from the list. But when I am trying the same now, the script does not pick the user login details and finally fails. One of the options is to parameterize the user login details using CSV file (As we do for any other input hardcoded data. I hope it should work), but I just wanted to know if I can do anything to make that the login details would be picked up from Authentication node?
|
|
|
10/7/2022
Topic:
which request is taking more time.
Unregistered UserPosts: 454
|
Can we break the flows and get the details for investigation. Say for example : login scenario is taking more time and we want to drill down the requests to know which request is taking more time.
|
|
|
10/6/2022
Topic:
Dynamic Regex Extractor does not work in Verify
George @StresStimulusAdministrator Posts: 488
|
I successfully recorded and playback a script from the website above. Here are a couple of suggestions: - Make sure you use the latest StresStimulus version (currently v 5.6.8314)
- Set the "Use URL decoding?" property of the C_largest_order extractor to Yes. Not setting this property can cause sporadic errors.

Also, wanted to give you a heads-up that you would need to create a few parameters required by this scenario. I have not described them here since I was unsure if you want to complete the script by yourself for learning purposes. But if you come across any questions, please feel free to post them here, and we will assist you. - Cheers
|
|
|
10/6/2022
Topic:
Dynamic Regex Extractor does not work in Verify
swalkerPosts: 1
|
Hi all,
We are working on the https://challenge.flood.io script in SS and I decided to use a dynamic regular expression extractor to pull the "Largest Order" value.
We are able to craft the regex and it works in Edit Extractor verify, however when we verify the script it does not work.
Here is my first extractor regex and second dynamic regex extractor
C_largest_order= largest_order=(.*?);
C_Challenger_order_selected= value="{{C_largest_order}}" \/><label class="collection_radio_buttons" for="challenger_order_selected_.*?">(\d+)<
I will attach some screen captures of the script below.
|
|
|
9/9/2022
Topic:
How to have more descriptive Test name
George @StresStimulusAdministrator Posts: 488
|
The test run name has a max limit of 26 characters. The reason for the limit is that the name is used as part of the SQL CE database file name and that has limits. Typically, if you would like to add a meaningful description to the test run, you can use the Description textbox below that has a much higher character limit.
|
|
|
9/9/2022
Topic:
How to have more descriptive Test name
Unregistered UserPosts: 454
|
I like to use descriptive names for my load test scenarios to make it easier to read/find/sort/compare. The StressStimulus user interface does not allow for that many characters in the naming of test runs so I have to resort to using camel text.

Would be nice if they allow more characters for naming or am I the only user needing more?
|
|
|
9/8/2022
Topic:
Load testing database
George @StresStimulusAdministrator Posts: 488
|
To add Database performance monitors, first, add the Database machine to a performance graph as described here. If the machine is on a different network as your StresStimulus controller you need to install PerfMon Agent as described here. Finally, you can add any performance counters as described here.
- Cheers
|
|
|
9/8/2022
Topic:
Load testing database
raph Posts: 1
|
Hi, How do I get to the screen "Select Performance Counter"? I would like to test Database performance with stresstimulus and wondering if its possible?
I don't have the same screen as your! This is what I have:
|
|
|
8/15/2022
Topic:
Missing Pages graph
George @StresStimulusAdministrator Posts: 488
|
Pages are typically created during recording as described https://support.stresstimulus.com/display/doc56/Page+structure You can create/edit pages in the current script as described https://support.stresstimulus.com/display/doc56/Managing+Page+Breakdown
- Cheers
|
|
|
8/15/2022
Topic:
Datasets editor - basic text editing issues
George @StresStimulusAdministrator Posts: 488
|
The issue was fixed in v5.6.8257. Thank you for reporting it.
- Cheers
|
|
|
8/12/2022
Topic:
Missing Pages graph
ihodgettsPosts: 5
|
I think I've found my own answer; selecting multiple requests in the test case right-clicking and choose "Create Page".
I'm guessing one approach to grouping would be to group every time you see that a screenshot was taken during the original recording.
|
|
|
8/12/2022
Topic:
Missing Pages graph
ihodgettsPosts: 5
|
Thanks for pointing that out (seems obvious now).
I'm actually working on a test case that someone else did the original recording. My own (exploratory) recordings DO include pages, but the main recording only has sessions. What governs how pages/sessions are used?
[EDIT]
Presumably it's the "Group requests into pages" checkbox when doing a recording.
Is there any way of retrospectively doing this grouping?
|
|
|