generated on {{ api_stats.get("recorded_on") }}

CloudVector APIShark - Test Coverage Report


API Test duration: {{ api_test_window }} APIs: {{ api_stats.get("total_apis_captured",0) }} | Parameters: {{ total_mandatory_params.get("apishark",0) + total_optional_params.get("apishark",0)}} (M: {{ total_mandatory_params.get("apishark",0) }}; O: {{ total_optional_params.get("apishark",0) }}) | APIs with Auth: {{ api_security_Details["apishark"]["auth"] }} | Response Codes: {{ api_stats.get("total_response_codes",0) }} | 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) }}) | Response Codes: {{ api_spec_stats.get("total_response_codes",0) }} | APIs with Auth: {{ api_security_Details["inspec"]["auth"] }}
Overall API Coverage



Tested APIs - Parameters Coverage












Coverage based statistics

API Coverage details:

{% for api, details in api_details.items() %} {% if api not in api_stats.get("apis_in_spec_not_captured") %}

mandatory {% 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 {% 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 %} {% for respcode in details.get("respcode_recorded",[]) %} {{ respcode }} ?   {% endfor %} {% else %} {% for respcode in details.get("respcode_inspec") %} {{ respcode }} {%if respcode in details.get("respcode_recorded") %} {% else %} {% endif %}   {% endfor %} {% endif %}
mandatory params (coverage: {{ details['coverage'] }}%)
optional params (coverage: {{ details['optional_coverage'] }}%)

{% endif %}{% endfor %}

Missing API(s) details:

{% for api in api_stats.get("apis_in_spec_not_captured") %} {{ api }} |  {% endfor %}


Missing Parameter(s) details:

{% if api_stats["total_mandatory_missing"]["one"] > 0 %}

{% for api, details in api_details.items() %} {% if details.get("mandatory_missing",[]) == 1 %} {{ api }}  |  {% endif %} {% endfor %}

{% endif %} {% if api_stats["total_mandatory_missing"]["two"] > 0 %}

{% for api, details in api_details.items() %} {% if details.get("mandatory_missing",[]) == 2 %} {{ api }}  |  {% endif %} {% endfor %}

{% endif %} {% if api_stats["total_mandatory_missing"]["three"] > 0 %}

{% for api, details in api_details.items() %} {% if details.get("mandatory_missing",[]) == 3 %} {{ api }}  |  {% endif %} {% endfor %}

{% endif %} {% if api_stats["total_mandatory_missing"]["four"] > 0 %}

{% for api, details in api_details.items() %} {% if details.get("mandatory_missing",[]) == 4 %} {{ api }}  |  {% endif %} {% endfor %}

{% endif %} {% if api_stats["total_mandatory_missing"]["five+"] > 0 %}

{% for api, details in api_details.items() %} {% if details.get("mandatory_missing",[]) >= 5 %} {{ api }}  |  {% endif %} {% endfor %}

{% endif %} {% if api_stats["total_optional_missing"]["one"] > 0 %}

{% for api, details in api_details.items() %} {% if details.get("optional_missing",[]) == 1 %} {{ api }}  |  {% endif %} {% endfor %}

{% endif %} {% if api_stats["total_optional_missing"]["two"] > 0 %}

{% for api, details in api_details.items() %} {% if details.get("optional_missing",[]) == 2 %} {{ api }}  |  {% endif %} {% endfor %}

{% endif %} {% if api_stats["total_optional_missing"]["three"] > 0 %}

{% for api, details in api_details.items() %} {% if details.get("optional_missing",[]) == 3 %} {{ api }}  |  {% endif %} {% endfor %}

{% endif %} {% if api_stats["total_optional_missing"]["four"] > 0 %}

{% for api, details in api_details.items() %} {% if details.get("optional_missing",[]) == 4 %} {{ api }}  |  {% endif %} {% endfor %}

{% endif %} {% if api_stats["total_optional_missing"]["five+"] > 0 %}

{% for api, details in api_details.items() %} {% if details.get("optional_missing",[]) >= 5 %} {{ api }}  |  {% endif %} {% endfor %}

{% endif %}

powered by

Community Edition: {{ ce_url }}