AbstractMetadata Properties |
The AbstractMetadata type exposes the following members.
Name | Description | |
---|---|---|
ApplicationName |
Level 1 description of a service, in which the application/system it belongs
| |
Description |
An description of the functionality of the current service. This description will be shown as Tool-tip on service selector user interface.
| |
ErrorTypes |
Type of the object which an error could be received from the server.
| |
FriendlyUriTemplate |
This is a friendly version of Uri displayed to the users, taken account the binding ip, parameters and variables. so the user can understand better where is service is.
| |
Id |
This property must be initialized in the constructor of derived class and must be given a fixed GUID.
the GUID must be a constant in code, and should not equals to any other classes derived from AbstractService.
(Inherited from Identifier.) | |
IsUniqueMethodOfService | Obsolete.
If there are no different Method (MethodName) in the same Service (ServiceName) => true,
Else false;
| |
OperationName |
An additional Level 4 description of a service, for a subservice or a subworkflow.
Example: for a SOAP web service, it may contains more soap action for a single endpoint
| |
ReferencedService |
Gets or Sets referenced AbstractService (Client of Server) which the current request/response is used.
For services that based on HTTP Client, HTTP Server, SOAP Client and SOAP Server, this value can be assigned automatically,
When creating an extension that implements a new AbstractService, you must assign all request / responses with the service.
| |
RequestEditorType |
Type of a CustomObjectEditor to edit the request data (used as Driver). If the value is not provided, Hummingbird default editor will be used.
the request data is type of RequestType.
| |
RequestSerializer |
Gets or sets the serializer used to serialize and deserialize request objects.
| |
RequestType |
Type of the object which the request will be in .NET framework.
The injector service will convert this object to real request (such as Soap or HTTP request).
For a service stub, this is the type of object RECEIVED by the service stub.
| |
RequiredExtension |
Gets the required extension about this AbstractMetadata
| |
ResponseEditorType |
Type of a CustomObjectEditor to edit the response data (used as Stub). If the value is not provided, Hummingbird default editor will be used.
| |
ResponseSerializer |
Gets or sets the serializer used to serialize and deserialize response objects..
| |
ResponseType |
Type of the object which the reply will be received from the server.
For a mocking service, this is the type of object which will be sent to the caller.
| |
ServiceCategory |
Level 2 description of a service, in which the category/module it belongs
| |
ServiceName |
Level 3 description of a service, in which the service/workflow it belongs
| |
UriTemplate | When used as Server to simulate responses, UriTemplate is the absolute path of the service, starts always by /. If the service is HTTP based, the HTTP service handler will route the received http message by it's URL. if the Uri matches the UriTemplate, then such handler is chosen. When used as drivers, The Uri template there the request will be send. UriTemplate supports variables and processing functions in order make the extension reusable to different test environments and configurations | |
VisualizerType |
The type of WPF control which shows the result of
the type must be derived from Hummingbird.TestFramework.DataVisualizer
|