Collections:
HTTP Request to Get Home Page
How to use the HTTP Request Sampler to get the home page from a Website?
✍: FYIcenter.com
This tutorial shows you how to use the use the HTTP Request Sampler
to get the home page from www.facebook.com.
1. Start JMeter on your computer.
2. Change the default Test Plan name to "Facebook Login Test Plan".
3. Add a child "Thread Group" called "Login Test Case".
4. Add a child "HTTP Request" sampler called "GET Home Page". And enter "www.facebook.com" as the "Server Name".
5. Add a child "View Result Tree" listener.
6. Click "File > Save Test Plan As" menu and save it as "\fyicenter\Facebook-Login-Test.jmx".
7. Click "Run > Start" menu to run the test.
8. Click "View Result Tree" in the left panel to open it. You see the "GET Home Page" test sampler executed successfully.
9. Open "View Result Tree" child list. You see 2 sub-samplers: http://www.facebook.com and https://www.facebook.com, because JMeter automatically follows the redirect message by the first call, switching from HTTP protocol to HTTPS protocol.
The picture below shows you how to use View Result Tree on HTTP Request Sampler:
⇒ Assertion on Home Page Response Data
⇐ Testing Web Application with JMeter
2017-11-18, 2330🔥, 0💬
Popular Posts:
How to valid IPv6 addresses? In order to help your programming or testing tasks, FYIcenter.com has d...
How to perform UUDecode (Unix-to-Unix Decode)? UUEncode is Unix-to-Unix encoding used on Unix system...
What are JMeter command line options? You can get see JMeter command line options by running this co...
How to access Response Status Code 400 as Success? My sampler failed, because the server returns the...
How to generate user full names? Test user names are frequently needed in testing applications that ...