I recorded some test script using BadBoy. Just simple steps "Login to a webpage" , "Click a button" and "Logout" .
Then I exported it as JMX file and then open it in JMeter.
When I run it, JMeter returns this 401 code.
Response code: 401
Response message: Unauthorized
Response headers:
HTTP/1.1 401 Unauthorized
Cache-Control: private
Content-Type: text/html
Server: Microsoft-IIS/10.0
X-AspNetMvc-Version: 4.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Meanwhile, when I run it directly in BadBoy , It will return 200 code and green dot.
Do we need to modify something in JMeter? Can't we just use the JMX file generated by Badboy directly in JMeter ?
Thanks.
HTTP Cookie Manager
HTTP Cache Manager
User Defined Variables
andHTTP Header Manager
– keylogger