Set HTTP path patterns

Define HTTP path patterns for outbound calls to improve test case deduplication

Users can provide known HTTP endpoints which are called from their application to reduce the number of duplicate root mocks and test cases we record.

Hypertest does try to identify path params using its own in-house algorithm, but there might be some cases where the path params are not that generic and very customized to your use case.

In such cases you should provide the know patterns for HTTP endpoints that your application calls.

htSdk.setOutboundHttpRequestPathPatterns([
  '/test/:custom_id'
]);

Last updated