Open cloudtest-anon opened 1 year ago
Hello @anna-mazhar,
Could you please try to run your test using the code in the mp/diag
branch? I believe this issue should be fixed there (it will also give you a more helpful coverage investigation file at the top level of the logs - see doc updates of that change for details). Please let me know if the issue is still present and I'll try to address it ASAP.
Thanks,
Marina
Thank you for replying.
I ran it with code in the mp/diag
branch and found the issue to still persist. The last combination request still has its query removed as per the network logs. However, 'speccov.json' is now logging the first combination of the request so from the perspective of improving coverage, speccov.json is no longer misleading. Also, on a side note, speccov-min.json is a good addition to help quick investigation!
Description
RESTler is stripping query from endpoints when trying different combinations for an endpoint (the last combination). In HTTP traffic logs (network.testing.xxxx.txt), the log for such requests has the query present as 'restler_static_string' but it is not part of the actual request sent. Here is the log for an example request.
This makes the errors in speccov.json very misleading because speccov.json includes the last request combination for an endpoint and the last combination is the one with its query stripped.
The following is the log in speccov.json for the same request. The error message says that the mandatory HTTP header "x-ms-blob-type" is not specified for this request. This error does not correspond to the endpoint that is being tested i.e., "/{containerName}/{blob}?comp=seal" because it is generated for the endpoint "/{containerName}/{blob}", without query.
Steps to reproduce
Expected results
Query should not be removed from endpoints.
Actual results
Query removed from combinations of certain requests.
Environment details
OS: Windows, Python: 3.8.2, .NET version: 6.0.404, RESTler version: 9.1.0