简体   繁体   中英

401 unauthorized error in load runner web service test

I want to create script in load runner. I add wsdl and set input variables, when I run my scrip replay failed with 401 error. I need to send user password and authorization algorithm (type) with my web_service_call. I use web_set_user but it doesn't work. Please help me

Put this before web_set_user:

web_set_sockets_option("SSL_VERSION", "2&3"); // Not mandatory, if used edit it with your Version web_set_sockets_option("INITIAL_AUTH", "BASIC"); // Force sending user credentials with the first request without waiting for HTTP 401.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM