async def METHOD_NAME(self):
    """Test that an API URL that ends with index.html is transformed to an URL that end with js/stats.json."""
    self.set_source_parameter("url", "https://gatling/report/")
    response = await self.collect(get_request_json_return_value={})
    self.assert_measurement(response, api_url="https://gatling/report")