IsHTTPStreamingTestCase returns true if the testcase response is identified as a stream format supported by replay-time incremental validators.
(tc *models.TestCase)
| 934 | // IsHTTPStreamingTestCase returns true if the testcase response is identified as a stream format |
| 935 | // supported by replay-time incremental validators. |
| 936 | func IsHTTPStreamingTestCase(tc *models.TestCase) bool { |
| 937 | if tc == nil { |
| 938 | return false |
| 939 | } |
| 940 | return DetectHTTPStreamConfig(tc, nil).Mode != HTTPStreamModeNone |
| 941 | } |
| 942 | |
| 943 | // CompareHTTPStream compares an expected HTTP response with a streaming response. |
| 944 | // It returns whether they match, the captured body content, mismatch details (if any), and any error. |
no test coverage detected