Click or drag to resize

Hummingbird.TestFramework.Services Namespace

Contains all fundamental classes that used for service protocol definition and implementation, service simulation. To implement user driver, service simulation and extends existing protocols such as SOAP or HTTP, you need to refer classes used in this namespace.

Classes
  ClassDescription
Public classAbstractClient
The abstract client, which handles a type of Web Services requests
Public classAbstractMetadata
The base level of a Service metadata. A metadata describes a Service simulated as a Client (Driver) or Server (Mock)
Public classAbstractServer
An Abstract Server which simulates an 3rd party application which your system sends requests to.
Public classAbstractService
Abstract server is the root abstract class for Clients (simulate the application which calls your application) and Servers (simulates the application which yours are calling to)
Public classBaseGenericHttpMessage
The base class holding common data and parse functions for both GenericHttpRequest and GenericHttpResponse
Public classCookieAttribute
CookieAttribute specifies a property where it's name and value should be sent with the HTTP Request. The name of the cookie is set in the Name property of the attribute.
Public classDefaultHttpRequestHandlers
This class use generic handler to handle the incoming HTTP request received by HttpServer. When developing an Extension that based on HTTP, you can use this handler to process requests. User can configure the response by using the standard or customized object editor.
Public classDefaultSoapFault
This default SoapFault message will be added automatically to the Soap Service simulation.
Public classDispatchByBodyBehaviorAttribute
For some SOAP WebServices, SoapAction are not specified. To simulate these kind of Web services, you must apply this attribute to your web service proxy class.
Public classDispatchByBodyElementOperationSelector
Selector of the operation when using DispatchByBodyAttribute
Public classFormUrlEncodedAttribute
This attribute indicates that this property should be sent with Form Data. This attribute must be tagged on the property that also tagged with HttpBodyAttribute and can only be specified once within a class. Body object will be serialized in format: "application/x-www-form-urlencoded", BodySerializer will not be used.
Public classGenericHttpRequest
Defines the request data for a standard Http request
Public classGenericHttpResponse
Describes a response of a standard HTTP Request
Public classHttpBasicAuthenticationAttribute
This Attribute tags a Web service that requires HTTP Basic Authentication, described in HTTP/1.1: Authentication
Public classHttpBearerAuthenticationAttribute
This Attribute tags a Web service that requires HTTP Bearer Token Authentication, described in Bearer Token Usage
Public classHttpBodyAttribute
This attribute indicates that this property should be sent in HTTP Body in PUT/POST http requests This attribute can only be specified once within a class. Body object will be serialized with BodySerializer, according to REST service definition, it can be an JSON serializer or an XML serializer.
Public classHttpClient
The Standard HTTP Client handles RESTful Web Service requests
Public classCode exampleHttpHeaderAttribute
HttpHeaderAttribute is used to describe an HTTP Header within an RESTful WebService. All properties has this attribute will be sent in HttpHeader
Public classHttpMetadata
The base metadata class that holds common values for HTTP Request or HTTP Response service description.
Public classHttpRequestMetadata
The request metadata for HTTP Request, it adds some additional information from standard Request Metadata. See remarks for more information.
Public classHttpResponseAttribute
HttpResponseAttribute is used to describe the class that representing an HTTP response used for to simulate REST web services.
Public classHttpResponseEditor
Interaction logic for GenericHttpResponseEditor.xaml
Public classHttpResponseMetadata
Metadata for HTTP Responses, it specifies the Handler to process the received http message by the stub.
Public classHttpServer
A Basic HTTP Server to handles the Restful Web services running on HTTP protocols. it can also handles other protocols based on HTTP.
Public classHttpStatusCodeAttribute
This attribute is expected to bed attach to an property of a Response Object.
Public classOAuthAuthenticationAttribute
This attribute specifies an OAuth authentication used for an OpenAPI Web Service.
Public classParameter
Parameter of your Clients and Servers
Public classCode exampleQueryFieldAttribute
QueryFieldAttribute is part of Test Framework REST Service testing flags.

On the runtime, Hummingbird Test Framework will add the query field on the url template by adding fieldname={fieldValue}

Public classReadOnlyAttribute
Hummingbird Object Editor does not allow changes of the property containing such attribute. Use this attribute in your services for read only fields : value of Content-Type, Allow, ...
Public classRequestData
Request data for request handlers to send current request.
Public classRequestOptions
Options used to send the request
Public classSingletonServiceAttribute
This attribute marks that a service is in singleton mode. so only one instance can be added into service list.
Public classSoapBindings
Provide commonly used Http binding for Soap based WebService.
Public classSoapClient
Soap Client service, all SOAP requests will be handled by this service.
Public classSoapClientService
This structure declares a Soap Client service which simulates a service to call.
Public classSoapDefaultReplyBehavior
The default Soap Virtualized service reply behavior
Public classSoapRequestMetadata
Request Metadata for Soap WebServices.
Public classSoapResponseMetadata
The AbstractMetadata for Soap Server Services
Public classSoapServer
Soap Server is a build in Virtual Service Host. All virtualized SOAP services are hosted by this SoapServer.
Public classSoapServerService
Definition of a Soap Web Service used for Service Virtualization.
Public classCode exampleUriPathAttribute
UriPathAttribute specifies a property where it's value should be used in a Uri path.
Public classWcfBehaviorExtension
WcfBehaviorExtension to register WcfEndpointHehavior
Public classWcfEndpointBehavior
Adds the WCFEndPointBehavior to intercept the WebService calls and implementations.
Public classWcfMessageInspector
The Inspector to intercept the WCF web Service calls.
Public classWcfServiceBehaviorAttribute
The WcfServiceBehavior to intercept incoming and outgoing message from WCF.
Interfaces
  InterfaceDescription
Public interfaceISendRequest
Interface defines the ability to send a request to other systems
Delegates
  DelegateDescription
Public delegateHttpResponseMetadataMessageHandler
Defines a delegate method to process the http request
Enumerations
  EnumerationDescription
Public enumerationAuthenticationModes
The mode of authentication when calling the target. AuthenticationMode is use only on HTTP based services. It is implemented in HttpClient and SoapClient.
Public enumerationHttpMethod
Standard HTTP Method
Public enumerationHttpVersion
The version of the HTTP
Public enumerationParameterType
Type of the Parameter used by a Service
Public enumerationProxyMode
Mode authentication if a proxy server is used to call HTTP based web services
Public enumerationQueryFieldFormat
Describes how the a Query Field variable is formatted.