GetExchanges retrieves the captured HTTP exchanges from the proxy.
()
| 173 | |
| 174 | // GetExchanges retrieves the captured HTTP exchanges from the proxy. |
| 175 | func (c *TestContext) GetExchanges() ([]ParsedHttpExchange, error) { |
| 176 | return c.proxy.GetExchanges() |
| 177 | } |
| 178 | |
| 179 | // WaitForExchanges waits until the proxy has captured at least the requested exchanges. |
| 180 | func (c *TestContext) WaitForExchanges(t *testing.T, minimumCount int) []ParsedHttpExchange { |
no outgoing calls