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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...