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

226 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

1
On

Add before calling the post command

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

0
On

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