If you’re testing HTTPS with JMeter 2.3.2 and a current version of Java greater than 1.5 e.g.
java -version
java version “1.6.0_11″
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
Then you are likely to encounter this error when using the standard HTTP Request sampler:
Response code: Non HTTP response code: java.net.SocketException
Response message: Non [...]
Previously I identified how to setup pattern matching with Regex in LoadRunner.
Here’s how you implement search and replace functionality with the same POSIX libraries used in the previous example.
Create a replace function in your favourite headers file or wherever you keep your framework’y stuff… You also need the pcre3.dll and pcreposix.h header added as files [...]
Previously I identified a way in which to test SPNEGO or Kerberos authentication with LoadRunner. However this implementation was buggy in the sense that if you ran your load tests under reasonable load with the WinInet replay engine (instead of sockets) you were likely to encounter the following error:
Error -27492: “HttpSendRequest” failed, Windows error code=12057 [...]