![]() |
![]() |
|
|||||||
| Register | Forum Rules | Getting Started! - Guide | Blog | Videos | Gallery | Members List | Social Groups | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
BizUnit - test output of the web service request/response
Does anyone know how to test the output of the web service request/
response? For example, I have a BizTalk orchestration that receive an input file and call a web service. The web service will return success or failure. For my unit test, I need to test the output of the request to the web service and also the output the response back from the web service. How can test it using BizUnit? Please advise. Thanks in advance. Kenny |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Re: BizUnit - test output of the web service request/response
Hi,
If I understand your situation correctly, you can use the HttpRequestResponseStep: <TestStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFra mework.BizUnit.HttpRequestResponseStep"> <SourcePath>.\TestData\InDoc1.xml</SourcePath> <DestinationUrl>http://localhost/TestFrameworkDemo/ BTSHTTPReceive.dll?ReqResp</DestinationUrl> <RequestTimeout>10000</RequestTimeout> <ValidationStep assemblyPath="" typeName="Microsoft.Services.BizTalkApplicationFra mework.BizUnit.XmlValidationStep"> <XmlSchemaPath>.\TestData\PurchaseOrder.xsd</XmlSchemaPath> <XmlSchemaNameSpace>http://SendMail.PurchaseOrder</ XmlSchemaNameSpace> <XPathList> <XPathValidation query="/*[local-name()='PurchaseOrder' and namespace-uri()='http://SendMail.PurchaseOrder']/*[local- name()='PONumber' and namespace- uri()='']">PONumber_0</ XPathValidation> </XPathList> </ValidationStep> </TestStep> HTH, **** Dijkstra On Oct 9, 3:07 am, kengh...@gmail.com wrote: > Does anyone know how to test the output of the web service request/ > response? > For example, I have a BizTalk orchestration that receive an input file > and call a web service. The web service will return success or > failure. > For my unit test, I need to test the output of the request to the web > service and also the output the response back from the web service. > > How can test it using BizUnit? > > Please advise. Thanks in advance. > > Kenny |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Home - Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |