Relative Content

Tag Archive for jmeterperformance-testing

How to extract code and code verifier which needs to be passed as a payload in token API

Our application is using O-Auth2 protocol for authentication. Once i login to the system i see the token API which is generating the Access Token which is utilized for further APIs. Now this API has a payload with code and code verifier information. Both of these code and code verifier values are dynamic. Problem is i don’t see any previous APIs which are generating these two values. So i am not sure how to extract the values and pass on to this Token API’s payload. Already talked to BE guy and they are saying these values are getting generated through some Keytool package. So i am stuck in making these values dynamic and to run token API from JMeter. Any elaborate explanation will be really appreciated.

Performance Testing Ecommerce web application

I’m working on creating load test scripts for an e-commerce web application using JMeter. The application updates its requests based on the selected category. For example, selecting the Women’s category displays subcategories like Tops, Bottoms, Jeans, Swimwear, etc.

JMeter – Write captured values into a file

I have 2 jmx scripts with a request each. From the response of JMX-1, a value is to be captured. This is done via a regular expression extractor. Now, the value is to be written to a file.

If tear down thread group always runs then why the option is present as a checkbox under Test Plan in Jmeter

I see this option Run tear down thread groups after shut down of main threads. But if i add a tear down thread group under my test plan and configure a simple http request then i see that is always runs irrespective of whether the checkbox is checked or not under the test plan. So what is purpose of this checkbox under the Test Plan. Also can somebody put more light whether the tear down thread group will always run if present in the test plan or not. I am getting contradictory answers from various blogs.