1. Test plan
1.HTTP Default Requests
2.Thread Group(1)
0. HTTP Cookie manager
1.Sampler(Home)
1. Response Assertion
2. Results
3. Xpath / regular expression extraction(correlation)
2. Sampler(Login)
1.URL
2.Parameters
3.HTTP header manager
3.Sampler(search)
3.Thread group(2)
4.Summary Report
5.View Results Tree
=================================
Xpath Extractor - Use to extract value from previous request response
=================================
<input type="hidden" name="_csrf_token" value="9910e8eaf1f04a39266ac4c82988ce4c" id="csrf_token" />
Syntax : //tagname[@attribute='value']
Example: //input[@id="csrf_token"]/@value
===================
regular expression
===================
name="_csrf_token" value="(.+?)" id="csrf_token"