Example #1
0
 protected override void AssertSuccessStatusCodeEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response status code is successfull.");
Example #2
0
 protected override void AssertSchemaEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response is compatible to specified schema.");
Example #3
0
 protected override void AssertExecutionTimeUnderEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response execution time is under {arg.ActionValue}.");
Example #4
0
 protected override void AssertStatusCodeEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response status code is equal to {arg.ActionValue}.");
Example #5
0
 protected override void AssertContentNotContainsEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response content does not contain {arg.ActionValue}.");
Example #6
0
 protected override void AssertCookieExistsEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response cookie {arg.ActionValue} exists.");
 protected virtual void AssertResponseHeaderEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
Example #8
0
 protected override void AssertResponseHeaderEventHandler(object sender, ApiAssertEventArgs arg) => Logger.LogInformation($"Assert response header is equal to {arg.ActionValue}.");
 protected virtual void AssertResultNotEqualsEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected virtual void AssertStatusCodeEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected virtual void AssertExecutionTimeUnderEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected virtual void AssertSchemaEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected virtual void AssertCookieExistsEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
Example #14
0
 protected override void AssertContentEncodingEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response Cache-Info header is equal to {arg.ActionValue}.");
 protected virtual void AssertContentTypeEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
Example #16
0
 protected override void AssertContentEqualsEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response content is equal to {arg.ActionValue}.");
Example #17
0
 protected override void AssertContentTypeEventHandler(object sender, ApiAssertEventArgs arg) => Logger.LogInformation($"Assert response Content-Type is equal to {arg.ActionValue}.");