How to do basic authentication for the request in web load performance tool?
You are doing the right thing, but need to change the order - move the Password and username settings above the wlHttp.Post command.
Add before calling the post command
//StartAuthentication wlHttp.OverrideAuthorizationHeader = true; wlHttp.Header["Authorization"] = "Basic XXXXXX"; //EndAuthentication
You are doing the right thing, but need to change the order - move the Password and username settings above the wlHttp.Post command.