Implement only 2 HTTP requests by Jmeter following the described precоnditions bellow:
Public APi references: http://dev.bitly.com/
- use global variable for the server IP (host name) and Port;
- HTTP request with returned server code 200 (positive case)
-
set verification for the returned server code
-
set verification for the returned server message
- HTTP request with returned server code 400, etc (negative case)
-
set verification for the returned server code
-
set verification for the returned server message
-
in the returned results make sure the negative case is marked as passed (should be in green)