hoe to invoke wcf service having message contracts through test complete
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hoe to invoke wcf service having message contracts through test complete
Please suggest me how to implement [
MessageContract](wcf service) in test complete tool.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I assume that you are looking for the functional testing of the WCF service, not the load one.
Have a look at the <Users>\Public\Documents\TestComplete 8 Samples\Web Service Testing\Functional Testing\ demo project. I think it should help.
Also, WCF services must conform to certain requirements to be testable with TestComplete (http://support.smartbear.com/viewarticle/25329/).
Also http://support.smartbear.com/viewarticle/18893/ might be worth reading.
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i want to know the possibility of testing in this case.
Please suggest me how to implement [
MessageContract](wcf service) in test complete tool.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Vivek,
TestComplete supports WCF services testing. Testing of MessageContract services should not differ from testing of other WCF services. So, to test the described service, you need to have .NET Framework ver. 3.5 or 4.0 on your computer. You can use TestComplete 8.70 or 9 (I'd recommend that you use version 9). Also, the WebServices project item (or the entire test project) must be created in these versions of the product.
Before you start creating automated tests, please check whether the service methods can be called from your computer successfully. That is, check manually whether the tested application works as expected. If it does, this means that your computer is configured properly (all the needed certificates are installed, and so on).
To understand how to call web service methods from your tests, please read the TestComplete documentation and see the sample project:
* Testing Web Services - Overview
* Creating Web Service Tests
* WCF Services - Specifics of Testing
* Sample project: <Users>\Public\Documents\TestComplete 9 Samples\Web Service Testing\Functional Testing .
Message headers are not displayed in TestComplete. Could you please explain what you need them for?
Any views or opinions expressed do not necessarily represent those of SmartBear Software.
-----
