Thursday, September 12, 2013

JMeter no user/password was provided for basic authentication

Jmeter HTTP Authentication not working:

Error message:  no user/password was provided for basic authentication

Need to uncomment 2 properties in two files stated below:

Documentation stated:

http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Authorization_Manager

In versions of JMeter after 2.2, the HttpClient sampler defaults to pre-emptive authentication if the setting has not been defined. To disable this, set the values as below, in which case authentication will only be performed in response to a challenge.

Edit filename: jmeter.properties  httpclient.parameters.file=httpclient.parameters    Edit filename httpclient.parameters  http.authentication.preemptive$Boolean=false

Problem solved!... 

Centos 7 reset root/ any user lost password / lockout due to cant remember password

1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...