Unanswered question

Response of Soap Request: Invalid Key

When I "check" my SOAP Request in the virtual user validity window, I get an "security token is invalid" exception in the response.
The same issue I solved in another tool with the post-processing property "Strip Whitespaces".
Is it possible to strip whitespaces in Neoload for each SOAP Request?

Thanks!

Anida D.
Anida D.

Anida D.

Level
0
13 / 100
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

There isn't such option in NeoLoad. But there's maybe other ways to successfully send that request from NeoLoad.

Have you compared the request sent by NeoLoad and your other tool? How do you generate that token? Is it dynamic or static?

If it's a security token, i guess you created a security profile in NeoLoad for your SOAP request. You should check the different options to generate that token. For example for a signature token, you have different options that may or may not include  whitespaces.

For more information you should check the NeoLoad documentation here

Anida D.
Anida D.

Anida D.

Level
0
13 / 100
points

Hi Nouredine, thank you for your response.
Yes I have compared the requests and the difference was the structure of the security token key. Unfortunately the service accepts tokens only in block form.
No, I didn't create a security token profile for the requests, I copied the XML into the SOAP request.