Collections:
POST Request to Send User and Password
How to call the POST request to send user name and password to the server?
✍: FYIcenter.com
You can call the POST request to send user name and password to the server
as shown in this tutorial.
1. Start JMeter on your computer and open "\fyicenter\Facebook-Login-Test-5.jmx".
2. Add another HTTP Request sampler to "Login Test Case" with these settings:
Name: POST Login & Password Protocol: https Server Name: www.facebook.com Method: POST Path: /login.php Parameters: Name: email / Value: joe@facebook.com Name: password / Value: NoOneKnows
3. Add a View Result Tree to above sampler.
4. Save the test plan as "\fyicenter\Facebook-Login-Test-6.jmx" and run it.
6. Click "View Result Tree" under "POST Login & Password". You see the "POST Login & Password" test sampler executed ok.
7. View the "POST Login & Password" response data in a Web browser, you see an error on the returning page: "Cookies Required".
See the next tutorial on how to manage cookies.
⇒ HTTP Cookie Manager for Web Testing
⇐ Call Login Page with Extracted URL
2018-12-07, ∼4888🔥, 0💬
Popular Posts:
How to convert IPv4 to IPv6 addresses? In order to help your programming or testing tasks, FYIcenter...
How to generate email addresses? To help you to obtain some email addresses for testing purpose, FYI...
How to set Content-Type to application/json? The server requires the Content-Type to be application/...
How to find out my browser request headers? To help you to see your browser request headers, FYIcent...
Where to find tutorials on Selenium test tools? I want to know how to use Selenium. Here is a large ...