HttpMalformedRequestTestCase

smithy.test.HttpMalformedRequestTestCase
See theHttpMalformedRequestTestCase companion object
final case class HttpMalformedRequestTestCase(id: String, protocol: ShapeId, request: HttpMalformedRequestDefinition, response: HttpMalformedResponseDefinition, documentation: Option[String], tags: Option[List[NonEmptyString]], testParameters: Option[Map[String, List[String]]])

Value parameters

documentation

A description of the test and what is being asserted.

id

The identifier of the test case. This identifier can be used by protocol test implementations to filter out unsupported test cases by ID, to generate test case names, etc. The provided id MUST match Smithy's identifier ABNF. No two httpMalformedRequestTests test cases can share the same ID.

protocol

The name of the protocol to test.

request

The malformed request to send.

response

The expected response.

tags

Applies a list of tags to the test.

testParameters

An optional set of test parameters for parameterized testing.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product