473,802 Members | 1,971 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Testing Web Service Interaction

Hey there,

I have a number of web services that interact with each other ( send
requests to each other etc ). I would like to test the interaction
between them ? Does anyone have any ideas as to how I would go about
doing that ? Some thing along the lines of having them running and be
able to test the messages being sent across

Thanks

Apr 12 '07 #1
4 1405
WCF, Remoting via Windows Services, ASMX?

The general means of testing software is to first set up the classes so they
can be tested in isolation (aka, unit tests).

For interaction (acceptance testing, system testing) turn on the software
that controls the web service and fire off values where known inputs create
known values. As with all science, you have to set up a prediction that can
be tested and confirmed.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************** *************** ***************
Think outside the box!
*************** *************** ***************
<Da************ @gmail.comwrote in message
news:11******** **************@ b75g2000hsg.goo glegroups.com.. .
Hey there,

I have a number of web services that interact with each other ( send
requests to each other etc ). I would like to test the interaction
between them ? Does anyone have any ideas as to how I would go about
doing that ? Some thing along the lines of having them running and be
able to test the messages being sent across

Thanks
Apr 12 '07 #2
Yeah, i have generated the services using their wsdl and am viewing
their operations via the ASMX.

Yeah im looking to do along the lines of system testing. Are there any
online resources / tutorials that you can point me to ?

Thanks
Cowboy (Gregory A. Beamer) wrote:
WCF, Remoting via Windows Services, ASMX?

The general means of testing software is to first set up the classes so they
can be tested in isolation (aka, unit tests).

For interaction (acceptance testing, system testing) turn on the software
that controls the web service and fire off values where known inputs create
known values. As with all science, you have to set up a prediction that can
be tested and confirmed.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************** *************** ***************
Think outside the box!
*************** *************** ***************
<Da************ @gmail.comwrote in message
news:11******** **************@ b75g2000hsg.goo glegroups.com.. .
Hey there,

I have a number of web services that interact with each other ( send
requests to each other etc ). I would like to test the interaction
between them ? Does anyone have any ideas as to how I would go about
doing that ? Some thing along the lines of having them running and be
able to test the messages being sent across

Thanks
Apr 12 '07 #3
Generally what I do is have a boolean "TestMode" flag that tells each method
to write the information I need to a common log file. If you need more
detailed info (for example, the actual inbound / outbound SOAP messages) you
can add a SOAP TraceListener extension class and configure it in your
web.config.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Da************ @gmail.com" wrote:
Hey there,

I have a number of web services that interact with each other ( send
requests to each other etc ). I would like to test the interaction
between them ? Does anyone have any ideas as to how I would go about
doing that ? Some thing along the lines of having them running and be
able to test the messages being sent across

Thanks

Apr 12 '07 #4
JM
DigitForge just released its Web Service testing utility. In a
nutshell, it's a windows application that allows you to test and
manipulate any web service. It's able to provide detailed SOAP data
as well as statistical information and, lets not forget, the actual
result of the method call. It's a nifty dealio. In DigitForge's new
release (currently in Alpha stages), it'll enable you to provide a
"wedge", which will allow you to very easily debug and track whatever
it is that you want to track. You'll be able to use this utility to
spoof the actual web service and, via the utility, add whatever checks
and balances you want.

Name: Visual Web Service Client
Company: DigitForge
URL: http://www.digitforge.com
Movie: http://www.digitforge.com/downloads/vwsoverview.wvx

Standard edition has been out for about 2 months now and they are
fixing to release a new Beta.

Hope this helps!

Cheers!


On Apr 12, 10:49 am, Daniel.Bene...@ gmail.com wrote:
Hey there,

I have a number ofwebservices that interact with each other ( send
requests to each other etc ). I would like totestthe interaction
between them ? Does anyone have any ideas as to how I would go about
doing that ? Some thing along the lines of having them running and be
able totestthe messages being sent across

Thanks

Apr 20 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5692
by: Artur Kowalski | last post by:
I have a NotifyIcon in my Windows Service project and I am trying to add a ContextMenu to this NotifyIcon or use some of the mouse events. Everything isn't working. I think so base class of the service System.ServiceProcess.ServiceBase don't catchWindows messages like mouse or timer messages. Any Idea? Thanks,
5
12526
by: Nate | last post by:
We are attempting to make a request to a web service (we will refer to it as XXXServices) hosted on a Web Logic server from a C# SOAP client. The server responds with a 401 Unauthorized error (that appears in plain text), and causes the client to crash. This C# code has been deployed both as an ASP.NET application and a WinForms app, each of which produced the same result. Further, moving the clients from a Windows XP machine to Windows...
3
14357
by: Vitaly Zayko | last post by:
Is it possible to attach a form (C# .NET 2) to windows service and show it in OnStart event? When I tried to do this in general (new, Show()) way it just didn't do anything nor gave me any errors. I want to use this form for interaction with the service. Thanks! Vit Zayko
2
6904
by: deko | last post by:
When to use a privileged user thread rather than a windows service? That's the question raised in a previous post . It was suggested that if the service needs to interact with a WinForms app (which is the UI used to adjust the actions taken by, and the schedule of the service), then a privileged user thread should be used in the UI - no service required. But... "A windows service enables the creation of long-running executable
8
1195
by: pigeonrandle | last post by:
Hi, I am writing a server application and would like to know what you experts think i should write it as. I would like (ie need) it to have a visual interface, hence the question, "Should i write it as a service and then provide another program that displays information on what's going on", or, "should i simply write it as a multi-threaded asynchronous socket beast GUI"?! I like the second option (mainly because it will involve less...
3
1604
by: screwy | last post by:
Hi! I've been trying to figure out how to enable desktop interaction support for windows services from within my vb.net code desperatly, but wasnt able to find anything useful. Does anyone know how to do this? Thanks in advance for your help!
4
5259
by: Don Curtis | last post by:
If I use GDI+ within a service, what problems can I expect? Why can't GDI+ be used within a service? http://msdn2.microsoft.com/en-us/library/system.drawing.aspx "Classes within the System.Drawing namespace are not supported for use within a Windows or ASP.NET service. Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time...
3
4682
by: =?Utf-8?B?Y2hlbmRyaWNrcw==?= | last post by:
I have a C# winforms application that makes periodic web service calls in background thread to my web service server. These calls work fine almost all the time but on rare occassions the web service method call will never return and the entire application will freeze, even though the call is being made on its own background thread, not the main UI thread. Does anyone know any reason why a particular web service method call would cause my...
4
1943
by: David | last post by:
Hi list. Do test-driven development or behaviour-driven development advocate how to do higher-level testing than unit testing? types of testing: unit integration system
0
9699
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10304
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7598
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6838
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5494
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3792
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2966
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.