recent posts recent posts - RSS

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

George @StresStimulus
George @StresStimulus
Administrator
Posts: 116
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: 116
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: 188
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: 188
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: 116
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: 116
George @StresStimulus
George @StresStimulus
Administrator
Posts: 116
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: 116
George @StresStimulus
George @StresStimulus
Administrator
Posts: 116
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: 116
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: 116
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
4/23/2018
Topic:
Credentials when attaching an agent

Unregistered User
Unregistered User
Posts: 188
When we try Attach an Agent to a controller it requires a username and password. What username / password are we supposed to use? Is this a windows account user/pass or the agent or controller?
4/23/2018
Topic:
Details of Parametrized requests

ruchi
ruchi
Posts: 4
Thanks for the reply. I appreciate that.

Your dataset had 2 rows but when you 'Verified' it and compared the sessions, you got only one value parametrized from the dataset (Desktop) . Now my question is how can i see both the values of the dataset in that request using 1 VU only.
In short , I want one VU to reach that request #276 and iterate over all the datarows one by one. How can i see those parametrized requests ?
4/20/2018
Topic:
Details of Parametrized requests

George @StresStimulus
George @StresStimulus
Administrator
Posts: 116
In order to review how parameterization works you need to run Verify. I created an example somewhat similar to your test case:

1. Recorded a scenario with the value "Laptop".

2. Created a dataset PayloadsWF with a field Payloads and two records: "Desktop" and "Server". Note, that both values are different from the recorded value.



3. Created a parameter in request 276 (last parameter, all others are created by StresStimulus's autocorrelation) similar to the parameter in your test.


4. Ran verify.


5. On verification tree, double-clicked request 276 to open compare session inspector http://support.stresstimulus.com/display/doc48/Verifying+the+Test+Case

6. Search for "laptop" in the recorded request (on the left) and observed a highlighted value "desktop " in the replayed request (on the right).





Successful parameterization with the 1st data set record is confirmed.


Verify multiple dataset records

During Verify, you can change what VU to emulate. If you use a databinding method sensitive to VUs, then you can verify replaying not only
1st but any record in your dataset. Databinding methods are described here http://support.stresstimulus.com/display/doc49/Databinding


In the next example, instead of Iteration-Bound data-binding method in your test, I applied VU-Bound data-binding, as shown below.



This time I ran verify with VU2



After verify is complete, on verification tree, double-click request 276 to open compare session inspector.


Search for "laptop" in the recorded request (on the left) and observe a highlighted value "Server" in the replayed request (on the right)



Successful parameterization with the 2-nd dataset record is confirmed.

-Cheers
4/20/2018
Topic:
Details of Parametrized requests

ruchi
ruchi
Posts: 4
I am parametrizing a request using dataset. My dataset has 2 rows of data and I have parametrized it like this :




How can I see the updated requests after parametrization ? and how can I check whether parametrization is actually happening behind or not?



I am using trial version.
4/12/2018
Topic:
How to parameterize Authorization header?

George @StresStimulus
George @StresStimulus
Administrator
Posts: 116
It looks like you are trying to parameterize Authorization header by using an extractor. Let me share a couple of thoughts in regard with this:

Authorization is a special request header that is used to submit user credentials. This application uses basic authentication. It means that web browser populates this header with Base64 encoding of the recorded user password.
On playback, StresStimulus emulate the same behavior. It takes a password assigned to every virtual user, encodes it and populates Authorization request header. Because of that, it will ignore all parameters created manually. Therefore your parameter is ignored by design.
User password should not be determined by using extractors. Instead it should be predefined. By default, all virtual users will use the same credentials entered in the authentication grid – see Server Authentication section on this page http://support.stresstimulus.com/display/doc48/_Authentication


In order to create different credentials for different VUs, enter more different credentials into the Authentication grid . VU1 will use the 1st row from the authentication grid, VU2 will use the 2nd row, etc.
When you run Verify you can select which VU you want to emulate http://support.stresstimulus.com/display/doc48/Verifying+the+Test+Case

If you verify with VU2, then Authorization header on replay will be different from the recorded value.

Hope this clarifies the behavior you will help to achieve what you need.
4/12/2018
Topic:
How to parameterize Authorization header?

Unregistered User
Unregistered User
Posts: 188
Trying to record against the MicroFocus demo site www.advantageonlineshopping.com.

I’m attempting to use StressStimulus to record against the Micro Focus demo site, and am having issues with extractors.

During a test run obtains a value that differs from the record-time value. (This is expected, as I’m playing back with a different user to the recording user.):

I have modified step #37 to use this extracted value:




but when I attempt to reuse it during a later step, it still uses the recorded value:



Can you advise how I can fix this, please? Is there something incorrect in the way I’m specifying the replacement of the recorded value with the extracted one? Note that parameterising the CartID in the same request works fine. Thanks!
4/8/2018
Topic:
Performance Testing Methodology

George @StresStimulus
George @StresStimulus
Administrator
Posts: 116
Generally speaking, Performance Testing Methodology should be tool-independent. There are many related documents and white papers dedicated to this topic. We particularly recommend Performance Testing Guidance for Web Applications by Microsoft because it is very comprehensive and detailed (https://msdn.microsoft.com/en-us/library/bb924376.aspx ). While it was published a while ago, the fundamentals of performance testing did not change much since that time. Our goal with StresStimulus is to provide functionality that enables to practice such methodology.
4/8/2018
Topic:
Performance Testing Methodology

Unregistered User
Unregistered User
Posts: 188
Do you have any generic performance test methodology documentation, white papers, or even best practices that we can review and incorporate into our company’s standards?




Copyright © 2018 Stimulus Technology