JMeter Time & Correlation Functions

JMeter Time & Correlation Functions


Correlation Value From One Thread Group To Another

1. Add a ‘Regular Expression Extractor‘ post-processor as a child element of 1.1 HTTP Request (Fetcher) and fetch the value in a variable (say employeeID)

2. Add a ‘BeanShell Assertion’ and write ${__setProperty(valueToPass,${employeeID})}

3. Use ${__property(valueToPass)} to pass the variable


 GET Last Value From The Response Functions

1. Use -1 in regular expression or JSON Extractor

2. ${__V(cartProductID_${cartProductID_matchNr})}

Comments

Popular posts from this blog

LoadRunner Tool

Selenium Performance Testing with JMeter and Selenium Grid

JMeter Integration with AppDynamics