Jump to content
WAPT Forum
Sign in to follow this  
Guest Prem Mohan

URL Encoding - Accept Spaces

Recommended Posts

Guest Prem Mohan

We are trying to test one of our applications using WAPT.

 

The application is working fine in Production.

When we run a test script, we are encountering with the error -

 

HTTP/1.1 400 Bad Request. as a result of the URL

GET /common/getDocument.aspx?pageTitle=New Service Agent&scriptName=../organization/setup_serviceagents.aspx?action=clearcontext HTTP/1.1

 

The issue is because of space in 'New Service Agent', if we remove the space, then the script works fine. But since its a working application and we have not had this issue in other load testing tools, we do not want to change the code for a successful run and will be a big effort.

 

Could you please let me know if there is any configuration that could be done in the tool to bypass this encoding check.

Share this post


Link to post
Share on other sites
Guest angela
We are trying to test one of our applications using WAPT.

 

The application is working fine in Production.

When we run a test script, we are encountering with the error -

 

HTTP/1.1 400 Bad Request. as a result of the URL

GET /common/getDocument.aspx?pageTitle=New Service Agent&scriptName=../organization/setup_serviceagents.aspx?action=clearcontext HTTP/1.1

 

The issue is because of space in 'New Service Agent', if we remove the space, then the script works fine. But since its a working application and we have not had this issue in other load testing tools, we do not want to change the code for a successful run and will be a big effort.

 

Could you please let me know if there is any configuration that could be done in the tool to bypass this encoding check.

 

Do you mean the words "'New Service Agent" in the URL? If so, there should be no spaces between words in the URL.

 

Please let me know if the option "Encode request parameters" is enabled.

Share this post


Link to post
Share on other sites
Guest Paul Deen

Strictly speaking this URL is invalid. Why would you expect WAPT to support it?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×