Forum Discussion

rka's avatar
rka
Occasional Contributor
9 years ago

SecurePRO (ReadyAPI 1.6.0): How to modify the default assertion "Valie HTTP Status Codes"

We run SecurePRO Security-Tests.

Therefore we use all the default scans provided.

One of them is "HTTP Method Fuzzing"

 

Request: PATCH http://localhost:14080/rest-service/rest/contact/contacts?languageCode=xx

Response: HTTP/1.1 500 Internal Server Error

 

Now, SecurePro is alerting (Warning): Valid HTTP Status Codes: Response status code 500 is not in the list of status codes

 

But I can't find any place to modify the list of valid status codes.

Please note, I did not add this assertion manually

It's a default assertion as it is also a default security scan.

 

Any ideas?

 

Thanks

Regards, Reto

 

 

  • SmartBearAmber's avatar
    SmartBearAmber
    SmartBear Alumni (Retired)

    If you click on the "Response Assertions" button next to the HTTP Method Fuzzing scan (or any other scan), it will open the Assertions window on the right hand side of the page. Double clicking the "Valid HTTP Status Codes" assertion will allow you to modify the acceptable codes.

    • rka's avatar
      rka
      Occasional Contributor

      Hi, thanks, this helps, now I could find it.

      But this way I have to change it for all "HTTP Method Fuzzing" in all Security Tests we have.

      Is there a possibility to set / enhance default values?

      Thanks

      Regards, Reto

       

      • SmartBearAmber's avatar
        SmartBearAmber
        SmartBear Alumni (Retired)

        Unfortunately it is not possible to change the defaults globally.