Forum Discussion

AndyTester's avatar
AndyTester
New Contributor
7 years ago

Is there a way to mass remove a scan type from every case in a test suite in Secure Pro?

I have a test suite of 38 end points, each end point has roughly 12 tests and when i initially set them up I left the SQL Injection box ticked despite having a Mongo DB (Doh!) Now I would like to remove them all but it appears I can only right click on each one and delete, cumbersome to say the least, any help much appreciated

1 Reply

  • StevenColon's avatar
    StevenColon
    SmartBear Alumni (Retired)

    Thank you for posting to our Community Forum.

     

    Unfortunately there is no automated way to do what your asking in Secure Pro. 

     

    You can open the ProjectXML file of the Secure Project (NotePad ++ is fine) and modify that fairly quickly. NOTE: you should make a copy of the file before attempting this so that you prevent any accidental loss of data.

    *Make sure ReadyAPI is Closed*

     

    1. CTRL+F and search for SQLInjectionScan

    2. Delete each testStep block (example shell below)

    <con:testStepSecurityScan type="SQLInjectionScan" name="SQL Injection" id="0df544f6-fe44-4311-aab0-252f2ff4a1d5" applyForFailedStep="false" disabled="false">*CONTENT*</con:testStepSecurityScan>

    3. Save File

    4. Open ReadyAPI

     

    Have a great day!