How to do basic authentication for the Request in WEBLoad Radview performance tool

231 Views Asked by At

How to do basic authentication for the request in web load performance tool?

enter image description here

2

There are 2 best solutions below

0
yshalbar On

You are doing the right thing, but need to change the order - move the Password and username settings above the wlHttp.Post command.

1
Ravindra On

Add before calling the post command

//StartAuthentication
wlHttp.OverrideAuthorizationHeader = true;
wlHttp.Header["Authorization"] = "Basic XXXXXX";
//EndAuthentication