All URIs are relative to http://localhost:1080
Method | HTTP request | Description |
---|---|---|
verify_put | PUT /verify | verify a request has been received a specific number of times |
verify_sequence_put | PUT /verifySequence | verify a sequence of request has been received in the specific order |
verify_put(verification)
verify a request has been received a specific number of times
# load the gem
require 'mockserver-client'
api_instance = MockServer::VerifyApi.new
verification = MockServer::Verification.new # Verification | request matcher and the number of times to match
begin
#verify a request has been received a specific number of times
api_instance.verify_put(verification)
rescue MockServer::ApiError => e
puts "Exception when calling VerifyApi->verify_put: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
verification | Verification | request matcher and the number of times to match |
nil (empty response body)
No authorization required
- Content-Type: application/json
- Accept: text/plain
verify_sequence_put(verification_sequence)
verify a sequence of request has been received in the specific order
# load the gem
require 'mockserver-client'
api_instance = MockServer::VerifyApi.new
verification_sequence = MockServer::VerificationSequence.new # VerificationSequence | the sequence of requests matchers
begin
#verify a sequence of request has been received in the specific order
api_instance.verify_sequence_put(verification_sequence)
rescue MockServer::ApiError => e
puts "Exception when calling VerifyApi->verify_sequence_put: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
verification_sequence | VerificationSequence | the sequence of requests matchers |
nil (empty response body)
No authorization required
- Content-Type: application/json
- Accept: text/plain