Avalanche: HTTP Mix protocol test consideration when sending requests to the same server IP

Knowledge Base - Solution

• For HTTP & HTTPS mix protocol action list, 2nd GET request may fail if the requirement is 1 TCP concurrent connections to a server on the same IP. (Example Action List) 1 get https://11.11.0.1/index.html 1 get http://11.11.0.1/index.html  
• In this scenario, tester should review the configuration. • Even the HTTPS and HTTP server are on the same IP, the test need two connections for the test, one for HTTPS server and another for HTTP server, but the setting Client->Profile->"HTTP:Browser"->"Max Connection Per Server" is set to "1" and the Client->Profile->"HTTP:Browser"->"HTTP Protocol Level" HTTP/1.1 persistence is on. • That means once the first connection is setup, it remains open until the SimUser completes the action. • Hence, HTTP GET request cannot open another connection and this leads to failed HTTP transactions.   • Solution here is to either increase the Client->Profile->"HTTP:Browser"->"Max Connection Per Server" to "2" Or   • Disable HTTP/1.1 Persistence on Client->Profile->"HTTP:Browser"->"HTTP Protocol Level"