Jmeter Scripts Execution on VSTS

  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

Saicharan

New Member
Nov 9, 2016
1
0
1
32
Hi,
Currently, I'm working with jmeter scripts on Vsts.
I m getting results as aggregate report which consists based on samples.
Any body suggest is there any option to get Transaction based report in vsts.
 
Hello Saichara..

In order to get Transaction based report in VSTS, you have to explicitly define transaction using Transaction Controller in your scripts, then Aggregate Report displays/saves both sampler level and transaction level results.

Common Issues we face while working with jmeter scripts:

Error: Issue in file uploads script while unloading the files
Solution: Normally, we add the file path in the ‘Send Files with the Requests’ section of the HTTP request samplers for the file upload. We put the file, which we have to upload via script anywhere on our system and specify the path in the ‘Send File with request’. However, at times this path doesn’t work. In such cases, you need to put the file in the ‘jmeter\apache-jmeter-2.9\bin’ folder of JMeter and should specify that path for the file upload in ‘Send File with request’ section. This would resolve the issue.

Error: While using a value with ‘,’ in it, but the system doesn’t pick values from normal CSV file.
Solution: Open the excel sheet, which will be used for the parameterization and enter values in cells.
Save the file by selecting the option ‘Text (tab delimited)’ file format from save type option.
A file will be created with .txt file extension.
Now, go to the JMeter and paste the path of this .txt file in ‘Filename’ section of CSV data set config page.
Then, add ‘/t’ in the Delimiter field displayed in JMeter CSV data set config page.
After this, run your script and it will pick up the value having ‘,’.

~Mansi Rao
 
Hello Saichara..

In order to get Transaction based report in VSTS, you have to explicitly define transaction using Transaction Controller in your scripts, then Aggregate Report displays/saves both sampler level and transaction level results.

Common Issues we face while working with jmeter scripts:

Error: Issue in file uploads script while unloading the files
Solution: Normally, we add the file path in the ‘Send Files with the Requests’ section of the HTTP request samplers for the file upload. We put the file, which we have to upload via script anywhere on our system and specify the path in the ‘Send File with request’. However, at times this path doesn’t work. In such cases, you need to put the file in the ‘jmeter\apache-jmeter-2.9\bin’ folder of JMeter and should specify that path for the file upload in ‘Send File with request’ section. This would resolve the issue.

Error: While using a value with ‘,’ in it, but the system doesn’t pick values from normal CSV file.
Solution: Open the excel sheet, which will be used for the parameterization and enter values in cells.
Save the file by selecting the option ‘Text (tab delimited)’ file format from save type option.
A file will be created with .txt file extension.
Now, go to the JMeter and paste the path of this .txt file in ‘Filename’ section of CSV data set config page.
Then, add ‘/t’ in the Delimiter field displayed in JMeter CSV data set config page.
After this, run your script and it will pick up the value having ‘,’.

~Mansi Rao