recent posts recent posts - RSS

18 hours ago
Topic:
Privileges to connect to the agent host remotely

Unregistered User
Unregistered User
Posts: 343
What are the privileges we should give to the service account we use to run the StresStimulus service and connect to the agent host remotely ?
1 days ago
Topic:
Multiple-Server Authentication in Same Script

George @StresStimulus
George @StresStimulus
Administrator
Posts: 287
One possible workaround is to add another hostname to the application. Then access the application as PRICER role using the other hostname. After that, you should be able to use the host-specific credentials.


You may contact your support rep and provide more information about your "one-user/two sets of credentials" situation and based on that some other workarounds could be found.


- Cheers
2 days ago
Topic:
Multiple-Server Authentication in Same Script

PreetiTester
PreetiTester
Posts: 6
I have same Host for both the SALES and PRICER server authentication as it is same application being used but with different Roles.Any Way to handle server authentication via C# in stress stimulus ?
2 days ago
Topic:
Multiple-Server Authentication in Same Script

George @StresStimulus
George @StresStimulus
Administrator
Posts: 287
Every VU represents a physical user. Typically, a physical user has one server authentication credential set per host. If the SALES role and PRICER role log in to different hosts then you can make the Server Authentication credentials host-specific as described here.

If your application would use application authentication, then you could have 2 credentials datasets to parametrize SALES role credentials and PRICER role credentials separately.

-Cheers
3 days ago
Topic:
Multiple-Server Authentication in Same Script

PreetiTester
PreetiTester
Posts: 6
Hi Stress Stimulus Team


I have a scenario where -

i have to Login with SALES role >> do some stuff >> Logout
and Login Again as PRICER Role >> Do some stuff >> Logout

I want to handle both these Roles login in a single Script . Both of these logins are Server Authentication.
How can i handle 2 server authentications in same Script. As currently i see _Auth.csv support one row per VU.
Any Suggestions ?
10 days ago
Topic:
Parameter with random date

warnerjonn
warnerjonn
Posts: 1
Try with C# date and Time


private Random gen = new Random();
DateTime RandomDay()
{
DateTime start = new DateTime(1995, 1, 1);
int range = (DateTime.Today - start).Days;
return start.AddDays(gen.Next(range));
}
18 days ago
Topic:
CRM Error when recording

George @StresStimulus
George @StresStimulus
Administrator
Posts: 287
George @StresStimulus
George @StresStimulus
Administrator
Posts: 287
Topic: CRM Error when recording
Hi,

According to your screenshot, the error came from your server. First, check that your CRM application works without StresStimulus recording.
If this is the case then try recording your CRM with StresStimulus Fiddler addon.
For further troubleshooting contact your StresStimulus support rep.

-Cheers
18 days ago
Topic:
CRM Error when recording

sachpatel
sachpatel
Posts: 2
Hi,

SS Version 5.1 and 5.2.

I am observing the attached CRM error when trying to record a new case. I have tried the following:
  • Double-checked the certificate is in the "Trusted Root Certification Authorities"
  • I also removed it and adding it back in
  • Recording in Private mode and non-private mode

Is there anything else I can try?


Thank you.

Regards,

Sachin
6/10/2020
Topic:
Requirement of Geo location wise reports

George @StresStimulus
George @StresStimulus
Administrator
Posts: 287
There are a few ways you can access Geolocation data collected by different load agents

  1. Navigate to VU Activity View and export the Activity diagram data to a .csv file as described here here. You can open it in Excel. Each record with the performance metrics has a load agent column. You can sort by this column and then aggregate any way you wish. For example, you can calculate the average or median response time. The same data is available for every transaction in the respective transaction subreports, activity diagram here.

  2. In StresStimulus v5.2 each agent creates an Agent run report that has all Performance metrics reports for that agent. This is described here. In order to open the Agent run report, go to the agent the follow the steps described here.




- Cheers
6/10/2020
Topic:
Requirement of Geo location wise reports

smallick3
smallick3
Posts: 1
I am running load test from 4 different geo locations. The controller machine is generating a single report for the complete load run,

I have a requirement in which I need Geo location wise test report for the understanding Geo location wise application behavior.

Please help me on this
6/5/2020
Topic:
Extractor value usage in other test

George @StresStimulus
George @StresStimulus
Administrator
Posts: 287
Hello Sachin,


StresStimulus v5.2 has better support for passing extractors from one test case to another. See the detailed steps that are described here.

After that, you can verify your test case group as described on the bottom on the page here.

Finally, to see if your extractor was created correctly and properly used as a parameter, see here.

- Cheers
6/4/2020
Topic:
Extractor value usage in other test

sachpatel
sachpatel
Posts: 2
Hi George,

I am a new user of SS. I have implemented the below steps for two test cases using SS v5.2. Can you let me know how I can verify whether the extraction from test case 1 appears as expected in test case 2 please? Thank you.

Regards,

Sachin

George @StresStimulus wrote:
This is possible in v5.0 if you create a test case group (TC Group) and each VU will run test case 1 (TC1) and test case 2 (TC2) sequentially.

Once you create a TC Group here are the steps to pass an extractor from TC1 to TC2.
  • Create an appropriate extractor in TC1. Call it Ext1.
  • Create a dummy extractor in Session #1 in TC2 that won’t return a value. Call it Ext1 also. For example, the extractor will be text delimited, begins with ‘aaaaaaaaa’ and ends with ‘bbbbbbbbbbbb’.
  • Create the appropriate parameter using Ext1 in TC2.

When you run the test the value of Ext1 will be passed on to a parameter in TC2.


Hope this helps.
5/27/2020
Topic:
Force StresStimulus to make an Auth header

George @StresStimulus
George @StresStimulus
Administrator
Posts: 287
I’m glad I can help.

  1. The x-ws-not-sent-vu is an internal placeholder header for NTLM handshaking inside StresStimulus. This header does not get sent to the server and can be disregarded.
  2. The Unified Service Desk option is only used for recording from a Unified Service Desk client. If you are recording from the browser, do not use this option.

- Cheers
5/27/2020
Topic:
Force StresStimulus to make an Auth header

ignjatov
ignjatov
Posts: 3
Excellent.
I have tried without specifying the "domain" in Authentication section (although I login with domain in browser), and it works - no more Unauthorized 401 issues! Many thanks, George!

Just 2 additional questions:

1. No 401 Unauthorized issues and no x-ws-not-sent header anymore. But, I still see x-ws-not-sent-vu:0 header. Why it is still there?
2. I am recording scenarios on Microsoft Dynamics CRM based application. Should I use Unified Service Desk as recording source instead of Web browser (and would that impact Authentication flows or no impact)?


Thanks once again.


Best regards,
Milorad
5/26/2020
Topic:
Force StresStimulus to make an Auth header

George @StresStimulus
George @StresStimulus
Administrator
Posts: 287
Hi Milorad,


Unlike other HTTP requests, the NTLM handshake sequence is special and includes several more back-and-forth roundtrips that are not displayed.

In your screenshot, the Authorization header is missing in the authentication request and the x-ws-not-sent header is seen instead. This is an indication that the credentials you provided were used for authentication but the server rejected it due to inaccuracies.


It is difficult to determine what the issue is without looking at your test but here are some thoughts:
  • Check your credentials. Many times the domain field should be left blank.
  • To check your credentials open a different browser, like Firefox, and type your credentials in the browser dialog box to verify they are correct. If Firefox does not take the domain, then you should not use the domain

- Cheers
5/26/2020
Topic:
Force StresStimulus to make an Auth header

ignjatov
ignjatov
Posts: 3
Thank you for a quick reply!

However, my Authentication section has been already set correctly, with the same domain\username and password that I have used while recording.

Any other idea which I should try?

Thanks,
Milorad
5/26/2020
Topic:
Force StresStimulus to make an Auth header

George @StresStimulus
George @StresStimulus
Administrator
Posts: 287
It looks like you application is using server authentication that is described here

StresStimulus adds the proper Authorization header using the provided credentials. To provide the credentials, specify the username and passwords in the Authentication node in the workflow tree.





- Cheers
5/26/2020
Topic:
Force StresStimulus to make an Auth header

ignjatov
ignjatov
Posts: 3
Hi,

I get 401 Unauthorized error when replaying.
As per requests comparison, looks like StresStimulus does not form an authorization header.
How can I force it to reply it correctly, to include the authorization header properly, like it is in recorded request?

Thanks,
Milorad
5/4/2020
Topic:
Can I create custom plugin?

George @StresStimulus
George @StresStimulus
Administrator
Posts: 287
George @StresStimulus
George @StresStimulus
Administrator
Posts: 287
Topic: Can I create custom plugin?
Unfortunately, we don’t have videos for creating external components, however, I can share the essential steps.
  1. Using a .NET IDE of your choice, i.e. VS, create a new class library project.
  2. Add a reference to the StresStimulus.Core.dll to your project. This .dll is located in the StresStimulus installation directory. If you are running tests using StresStimulus Fiddler Addon version, reference the StresStimulus.Core.Fiddler.dll instead
  3. Create a class and implement the StresStimulus.Extensibility.IExternalComponent interface.
  4. Compile the .dll and copy it into the bin subfolder in the test folder. For example, for the test MyTest.ssconfig, copy the .dll to MyTest\bin folder.
  5. Reopen your .ssconfig in StresStimulus and start your test.
External components are helpful to create custom processing. If you need more typical processing or those that are frequently used in load testing, it may very well be already implemented in StresStimulus and can be invoked via UI. If you can describe your test requirements, I may be able to help you achieve your goal without writing custom scripting.
5/4/2020
Topic:
Can I create custom plugin?

anilkumar
anilkumar
Posts: 1
Hi George,

Thanks for the inputs.
Do we have any videos on adding these code to performance test.
Like we have videos under, https://www.stresstimulus.com/videos/catalog




Copyright © 2020 Stimulus Technology