Performance Testing with JMeter - Second Edition by Bayo Erinle
Author:Bayo Erinle [Erinle, Bayo]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2015-04-24T04:00:00+00:00
Attempting to execute the recorded scenario on saving it will not yield the expected results. Go ahead and add a View Results Tree listener (right-click on Test Plan and go to Add | Listener | View Results Tree) to diagnose what is actually going on. Once the simulation is run, examine the responses from the server through the View Results Tree listener. Even though all responses are green, indicating successful requests (since we got a response code of 200 from the server), we are actually still just getting back the login page after successfully logging in (see the Response tab of View Results Tree for subsequent requests after successful authentication). Ensure that you switch to the HTML view from the drop-down menu to correctly have the page rendered to see things more clearly.
If you examine the Request tab, then you will see the reason for using that. Here is a snippet of the Request data of the login process. You will see something similar to this:
GET http://jmeterbook.aws.af.cm/;jsessionid=2CE58BC032344AA90CA60C6C880687A4 [no cookies] Request Headers: Connection: keep-alive Content-Type: application/x-www-form-urlencoded Accept-Language: en-US,en;q=0.8 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Origin: http://jmeterbook.aws.af.cm User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.99 Safari/537.22 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cache-Control: max-age=0 Referer: http://jmeterbook.aws.af.cm/login/auth Accept-Encoding: gzip,deflate,sdch Host: jmeterbook.aws.af.cm
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(12575)
Hello! Python by Anthony Briggs(9916)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9796)
The Mikado Method by Ola Ellnestam Daniel Brolund(9779)
Dependency Injection in .NET by Mark Seemann(9340)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8301)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7763)
Grails in Action by Glen Smith Peter Ledbrook(7697)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7557)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(7090)
Microservices with Go by Alexander Shuiskov(6858)
Practical Design Patterns for Java Developers by Miroslav Wengner(6777)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6716)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6419)
Angular Projects - Third Edition by Aristeidis Bampakos(6125)
The Art of Crafting User Stories by The Art of Crafting User Stories(5650)
NetSuite for Consultants - Second Edition by Peter Ries(5586)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5392)
Kotlin in Action by Dmitry Jemerov(5066)
