recent posts recent posts - RSS

1 days ago
Topic:
Read password stored in ‘Secrets’ password manager

George @StresStimulus
George @StresStimulus
Administrator
Posts: 302
You can store passwords in the StresStimulus authentication dataset that prevents the user from seeing the password on-screen while using the tool. Unfortunately, using any password management software for load testing tools generally is not very efficient as an experienced load tester can see the passwords anyway. Check this article about the inefficiency of LoadRunner Password Encoder, for example, https://www.myloadtest.com/loadrunner-password-encryption/ One workaround is instead of using real user accounts for load-testing, create test user accounts.
1 days ago
Topic:
Read password stored in ‘Secrets’ password manager

Unregistered User
Unregistered User
Posts: 343
Can SS read/support password stored in ‘Secrets’ password manager?
6 days ago
Topic:
Does the Stress Stimulus support Datasets in JSON

George @StresStimulus
George @StresStimulus
Administrator
Posts: 302
StresStimulus datasets support any textual, binary, or file-based data. You can import data from .csv files, Excel, or SQL Server databases as described here http://support.stresstimulus.com/display/doc52/Importing+Datasets You can also import JSON files using JSON to CSV converter, for example https://json-csv.com/ Keep in mind that JSON data should be flat and not hierarchical.
6 days ago
Topic:
Does the Stress Stimulus support Datasets in JSON

Unregistered User
Unregistered User
Posts: 343
Does the Stress Stimulus support Datasets in JSON files?
9 days ago
Topic:
Capture Browser Rendering time

Saranya
Saranya
Posts: 3
Hi Team,

We have an GUI application for which we need to capture the browser rendering time. Can we use stress stimulus for the same. To measure the response time we are using JMeter.
But now the requirement is to capture the UI browser rendering time.

Please suggest. If we can capture, how do we do that?

Thanks,
Saranya.
13 days ago
Topic:
Issues faced while executing the load test

George @StresStimulus
George @StresStimulus
Administrator
Posts: 302
By default, StresStimulus logs the content of all requests and responses in the test SQL CE embedded database log that has a capacity limit of 4GB per test run. For long tests with scenarios that have high payload HTTP messages, the default settings should be modified.
To avoid the maximum capacity issue when your local SQL CE database reached its 4GB capacity as described http://support.stresstimulus.com/display/doc52/Reducing+Test+Storage+Use
it is recommended to make the following configuration change:
Reduce test storage use by logging the request/response bodies of sessions with errors only. In the Result Storage section, set the Purge session content to Non-Errors.







For very large and long tests, you can further increase storage capacity by removing the 4 GB limit per test run. To do so, you would need to switch to your full SQL Server for the test repository that is only limited by the amount of available disk space. It can be configured in a few mouse clicks as described here http://support.stresstimulus.com/display/doc52/Test+Result+Storage
With these options, you can run tests of any length you need.

13 days ago
Topic:
Issues faced while executing the load test

Unregistered User
Unregistered User
Posts: 343
We faced the following issue: "Test data reached the maximum capacity allowed for SQL CE storage or you ran out of disk space". The test will stop. while executing a 50Vusers Load test with Stress Stimulus.
Can you please provide assistance in resolving the issue mentioned below. (refer to the attached snapshot).
Also please let us know the reason for this issue, and how we can prevent it for the load tests executed in future?
14 days ago
Topic:
Side by side installation of two versions

George @StresStimulus
George @StresStimulus
Administrator
Posts: 302
No, You can have only one version installed. However, you can go back and forth between 5.1 and 5.2 (except that the new features are not forward compatible). Every reinstall automatically removes the existing installation.
14 days ago
Topic:
Side by side installation of two versions

Unregistered User
Unregistered User
Posts: 343
Is side by side installation on the same server of v5.2 and 5.1 possible, can both installs share the same offline license file (ss.lic) or would we need to obtain and apply new lic files?
15 days ago
Topic:
Conditional Loop based on the Dataset

George @StresStimulus
George @StresStimulus
Administrator
Posts: 302
In order to accomplish you can create a scriptable variable that would read the dataset and return “true” or “false” based on your required condition.

To create a scriptable variable you need to implement the IExternalVariable.GetValue() method and to access a dataset use the SessionContext.GetDatasource() method.

For example:

using System;
using StresStimulus.Extensibility;
using System.Data;

class ExternalCondition : IExternalVariable
{
public ExternalCondition()
{
//Do not edit this section.
}

#region IExternalVariable Members

/// <summary>
/// Return true if the variable will be evaluated once per VU iteration. Otherwise will be evaluated on every parameter.
/// </summary>
bool IExternalVariable.EvaluateOnIteration
{
get
{
return true;
}
}

/// <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)
{
DataTable dt = context.GetDatasource("{Your dataset name}");

return
((string)dt.Rows[context.VUNumber ]) == "xxxxxxxxx" ? //get the row associated the a VU
"true" :
"false";
}

#endregion
}

Then when creating a Condition (http://support.stresstimulus.com/display/doc52/If...Then) set the following properties:
1. Condition type property to Match scriptable variable
2. Scriptable variable to match property to Name of the scriptable variable.
3. Text-to-match property to "true"




- Cheers
15 days ago
Topic:
Conditional Loop based on the Dataset

nee2_020
nee2_020
Posts: 1
Hi,

I am new to SS.

I am trying to create an if..else conditional loop based on a value from a dataset instead of an extractor.

Can you please help me with this.

Thank you
16 days ago
Topic:
Page View is missing from the runtime dashboard

George @StresStimulus
George @StresStimulus
Administrator
Posts: 302
The reason there is no Page view, is because during your test case recording you ignored page breakdown. To enable grouping requests into pages, check the Group requests into pages checkbox in the recorder as described http://support.stresstimulus.com/display/doc51/Page+structure If you don’t wish to re-record your test case, you can create your own page breakdown as described http://support.stresstimulus.com/display/doc51/Managing+Page+Breakdown
17 days ago
Topic:
Page View is missing from the runtime dashboard

Unregistered User
Unregistered User
Posts: 343
I'm using a Stresstimulus version 5.1, there's no Page view in Test Run Dashboard, but in the tutorial you have there's Page View. How to have Page View?


18 days ago
Topic:
Maximum concurrent VUs

George @StresStimulus
George @StresStimulus
Administrator
Posts: 302
George @StresStimulus
George @StresStimulus
Administrator
Posts: 302
Topic: Maximum concurrent VUs
Your result shows that:
  • 1500 unique VUs were instantiated at some points during the test (Max User Load)
  • During your whole test the maximum number of concurrent VUs was 48 (Max Concurrent User Load)

According to your load pattern, you create a new VU every 20 seconds, so VU #48 will be created 960 seconds (16 minutes) after the VU #1. If the average VU iteration time is less than 16 minutes then you will not reach more than 48 concurrent VU.
Because as new VUs are instantiated, existing VUs complete iterations and are terminated.

In order to increase concurrent VU you need to ramp up users faster. For example,
  • Decrease Step duration property (for example from 20 seconds to 10)
  • Increase Step VU increase property (for example from 1 to 5)

18 days ago
Topic:
Maximum concurrent VUs

Unregistered User
Unregistered User
Posts: 343

My test result:




Can I confirm my test has reached maximum 48 VUs concurrently?
Is this due to my test server limitation or my client’s resource limitation?
20 days ago
Topic:
ADFS authentication getting 401 error

George @StresStimulus
George @StresStimulus
Administrator
Posts: 302
ADFS is an active directory authentication that StresStimulus falls into a category of the Server Authentication described here http://support.stresstimulus.com/display/doc51/_Authentication
You need to provide the credentials in the Authentication section in the Workflow tree. Make sure you enter the correct credentials. Also, a common issue is that the Domain field is not required, so I suggest trying without the domain field filled out.
If it still doesn’t work, then it may be a correlation issue, in which case, you can schedule a WebEx session, and we will fix it for you.
20 days ago
Topic:
ADFS authentication getting 401 error

Unregistered User
Unregistered User
Posts: 343
When trying to use multiple VU with different user authentication, all VU authentication fails with an error 401 related with: /adfs/ls/wia?wa=wsignin1.0...
Do we need to configure anything in ADFS to allow the authentication ?
We have tried our user manually, and we can authenticate them. All users have proper privileges in CRM.
21 days ago
Topic:
How to generate a random phone number?

George @StresStimulus
George @StresStimulus
Administrator
Posts: 302
Your phone number has the following format: xxx-yyyy (3 digits followed by a ‘-‘ followed by 4 digits). You can create 2 integer generators:
1. A 3 digit generator “3digit” has min value 100 and max value 999







2. A 4 digit generator “4digit”





The createed 2 parameters:

  • Replace xxx with “3digit”
  • Replace yyyy with “4digit”
22 days ago
Topic:
How to generate a random phone number?

Unregistered User
Unregistered User
Posts: 343
For a phone number generator, how do I parameter this ?
22 days ago
Topic:
1 Regex Extractor should capture all values

TanvirAhmed
TanvirAhmed
Posts: 4
I am trying to capture all the array values and then I want to compare those values to the value I will be sending from an input Dataset File. If the value in the Dataset File will match from one of the values in the response then I want the corresponding row number(another Array value) or else a loop will be applied to go to the next page and search the value in the Dataset File until it matches. Then the matched value's Row Number will be send in the request after that.


So, basically I am searching a value that is in my Dataset Input File and comparing with the array of values in the response. Then if it finds the value in the response I want the row number at which the value is found.




Copyright © 2020 Stimulus Technology