0

I am testing a negative scenario where the application_Id = " ". So that my path of the endpoint would look like: "https://restAPIEndpoint.com/applicationId/ /restOfEndpoint"

But upon executing the scenario in BDD framework I am getting an error that says an illegal character at {index} of the path. How do I test that?

Md Nuhel
  • 55
  • 1
  • 6
  • 2
    [A blank is not a legal character in an URL](https://stackoverflow.com/questions/497908/is-a-url-allowed-to-contain-a-space). Blanks are encoded as `%20` if they are in the path, or `+` they are is in a query parameter. – Turing85 Apr 27 '22 at 20:56

0 Answers0