Class ContractInteractionResult
- Namespace
- Kuestenlogik.Bowire.Contracts
- Assembly
- Kuestenlogik.Bowire.Contracts.dll
One interaction replayed against the provider.
public sealed class ContractInteractionResult
- Inheritance
-
ContractInteractionResult
- Inherited Members
Constructors
ContractInteractionResult()
public ContractInteractionResult()
Properties
Assertions
Status + body assertions checked against the contract.
public List<ContractAssertion> Assertions { get; init; }
Property Value
Description
The Pact interaction description (drill-in row label).
public string Description { get; set; }
Property Value
DurationMs
Duration of this single interaction.
public long DurationMs { get; set; }
Property Value
Error
Transport / read error, if the interaction could not be evaluated.
public string? Error { get; set; }
Property Value
Method
HTTP method of the replayed request.
public string Method { get; set; }
Property Value
Passed
True when there was no error and every assertion passed.
public bool Passed { get; }
Property Value
Response
Actual response body (may be truncated by the caller for display).
public string? Response { get; set; }
Property Value
Status
Actual response status, as a string ("200"); null if the request never completed.
public string? Status { get; set; }