Logo: Relish

  1. Sign in

Project: Apitance

Errors

As a tester
I want to verify different testing errors behaviors

Scenarios
  • @valid
cannot resolve host
Given
a server url http://invalid.host:8888
When
perform the request
Then
should fail due to "not found" error
  • @valid
connection refused
Given
a server url http://localhost:8888
When
perform the request
Then
should fail due to "refuse" error
  • @valid
request error
Given
a server url http://localhost:8888
When
perform the request
Then
should fail due to an error

Last published almost 5 years ago by h2non.