Collections:
Call Login Page with Extracted URL
How to call the login page with the extracted URL from the previous sampler? I have the URL saved in the reference (variable) name.
✍: FYIcenter.com
You can call the login page with the extracted URL from the previous sampler
as shown in this tutorial.
1. Start JMeter on your computer and open "\fyicenter\Facebook-Login-Test-4.jmx".
2. Add another HTTP Request sampler to "Login Test Case" with these settings:
Name: GET Login Page
Protocol: https
Server Name: www.facebook.com
Path: ${loginURL}
3. Add a View Result Tree to above sampler.
4. Save the test plan as "\fyicenter\Facebook-Login-Test-5.jmx" and run it.
6. Click "View Result Tree" under "GET Login Page". You see the "GET Login Page" test sampler executed ok.
7. Review the "GET Login Page" response data and find out the login HTML form element to prepare for the next POST login request.
⇒ POST Request to Send User and Password
⇐ Extract Login URL from Home Page Response
2017-11-18, ∼3611🔥, 0💬
Popular Posts:
How to see my IP address Host Name? To help you to see your IP Address Host Name, FYIcenter.com has ...
Where to find online test tools? FYIcenter.com has prepared a number of online test tools: Data Look...
How to valid IPv6 addresses? In order to help your programming or testing tasks, FYIcenter.com has d...
How to generate passwords? To help you to obtain some good passwords for testing purpose, FYIcenter....
How to valid IPv6 addresses? In order to help your programming or testing tasks, FYIcenter.com has d...