Forum Discussion

flightlead's avatar
flightlead
New Contributor
15 years ago

Prevent Question Mark "?" in request generation

Hi

All of my security testings (XSS, Fuzzing, SQL Injection, etc) are failing because a question mark keeps being stuffed in a number field.

How do I prevent filling fields with a question mark?

Thanks

1 Reply

  • deepesh_jain's avatar
    deepesh_jain
    Frequent Contributor
    Hi flightlead,

    I am assuming you are having ? in the xml tags for the tags which are not being populated with any data in a SOAP test step. If that is correct, this is due to the way the default SOAP request is created. The only way you can get rid of this is that you create a source SOAP step and get rid of the ? manually from all places. Then at run time, use groovy to take this xml and copy it to your target xml SOAP step, and populate it like you doing normally.

    Hope this helps, let me know if you need more details.

    Regards,
    Deepesh Jain