Summary
API Test duration: {{ api_test_window }}
APIs: {{ api_stats.get("total_apis_captured",0) }} | Parameters: {{ all_params_captured }} |
APIs with Auth: {{ api_security_details["apishark"]["auth"] }} | Response Codes: {{ all_responses_captured }} | API Calls: {{ api_stats.get("total_api_events_captured",0) }}
API Baseline file: {{ input_api_spec }}
APIs: {{ api_stats.get("total_apis_in_spec",0) }} | Parameters: {{ total_mandatory_params.get("inspec",0) + total_optional_params.get("inspec",0)}} (M: {{ total_mandatory_params.get("inspec",0) }}; O: {{ total_optional_params.get("inspec",0) }}) |
APIs with Auth: {{ api_security_details["inspec"]["auth"] }} | Response Codes: {{ api_spec_stats.get("total_response_codes",0) }} |
Coverage Highlights |
Mandatory Parameters | {% for param in (details.get("mandatory_params_in_spec")) %} {% if param not in ["_","coverage"] %} {{ param }} {% endif %} {% endfor %} | |
Optional Parameters | {% for param in (details.get("optional_params_in_spec")|unique) %} {% if param not in ["_","coverage"] %} {{ param }} {% endif %} {% endfor %} | |
Response Codes | {% if details.get("respcode_inspec",[])|length ==0 %} {% for respcode in details.get("respcode_recorded",[]) %} {{ respcode }} * {% endfor %} {% endif %} |
Mandatory Parameters | {% for param in details.get("mandatory_params_in_spec") %} {% if param not in ["_","coverage"] %} {{ param }} {% endif %} {% if details.get("mandatory") %} {% if details["mandatory"][param] == "recorded" and param not in ["_","coverage"] %} {% elif details["mandatory"][param] == "not recorded" and param not in ["_","coverage"] %} {% endif %} {% else %} {% endif %} {% endfor %} |
Optional Parameters | {% for param in details.get("optional_params_in_spec") %} {% if param not in ["_","coverage"] %} {{ param }} {% endif %} {% if details.get("optional") %} {% if details["optional"][param] == "recorded" and param not in ["_","coverage"] %} {% elif details["optional"][param] == "not recorded" and param not in ["_","coverage"] %} {% endif %} {% else %} {% endif %} {% endfor %} |
Response Codes | {% if details.get("respcode_inspec",[])|length ==0 %} {% else %} {% for respcode in details.get("respcode_inspec") %} {{ respcode }} {%if respcode in details.get("respcode_recorded") %} {% else %} {% endif %} {% endfor %} {% endif %} |
Parameters | {% for param in (details.get("parameters")) %} {{ param.get("name") }} {% endfor %}{% endfor %} |
Mandatory Parameters | {% for param in (details.get("mandatory_params")) %} {% if param not in ["_","coverage"] %} {{ param }} {% endif %} {% endfor %} | |
Optional Parameters | {% for param in (details.get("optional_params")|unique) %} {% if param not in ["_","coverage"] %} {{ param }} {% endif %} {% endfor %} | |
Response Codes | {% if details.get("respcodes",[])|length ==0 %} {% for respcode in details.get("respcodes",[]) %} {{ respcode }} * {% endfor %} {% endif %} |