Play in Test Editor Background
Last updated
Last updated
Select any default test of your choice and replace the 3 sections (api_selection_filters, execute, validate) with the above YAML text. Please refer the Edit test section for a better understanding of how to edit a test YAML.
You can change the Test YAML. Learn here.
Click on the API endpoint to select the API you want to check for testing the above YAML.
Select your desired API collection and then select the desired API.
Click on save. You will now see your sample API req and res in the right column.
Click on Run Test at the Top right.
We ran the above test and discovered the vulnerability. In the bottom-right section, you will see the text "HIGH" indicating the severity level of the vulnerability.
Click on the "High vulnerability found" section to view all the attempts made during the test. This will open a pop-up window that looks similar to this:
In this example,t we requested a limit of 100 entities
from the server, and received 34 in the response
, which is much higher than the sample call. If there were more entities, we could have fetched them all in a single call.
Click on Save to save your test. You can now run this test on all your APIs in the API inventory.