l|||||||||||||ll||l||||||||l|||||||||||||||||||||||l|||||||||||||||||l|||||||||||||||||||| US 20040030947A1
(19) United States (12) Patent Application Publication (10) Pub. No.: US 2004/0030947 A1 Aghili et al. (54)
(43) Pub. Date:
METHOD AND APPARATUS FOR TESTING SIMPLE OBJECT ACCESS PROTOCOL
Publication Classi?cation
SERvERS
(76) Inventors: Al Aghili, Boulder, CO (US); Peter Welter, Boulder, CO (US); John Meier, Longmont, CO (US)
(51)
Int. C1.7 ......................... .. H02H 3/05; G06F 15/173
(52)
US. Cl. ............................................... .. 714/1; 709/224
(57)
ABSTRACT
The present invention comprises, in one aspect, a method for
testing a Simple Object Access Protocol (SOAP) server. According to one feature of the invention, a con?guration ?le for testing is automatically formulated. A softWare
Correspondence Address; PERKINS CQIE LLP
(21)
Feb. 12, 2004
P_()_ BOX 2168
application program tests the SOAP server based on the data
MENLO PARK, CA 94026 (Us)
in the con?guration ?le. The SOAP server is thus tested repeatedly according to an automatic scheduling for the testing. In other aspects, the invention encompasses a com puter apparatus, a computer readable medium, and a carrier Wave con?gured to carry out the foregoing steps.
Appl, No;
(22) Filed:
10/218,673
Aug. 12, 2002
TOP LEVEL SELECT/ON
@ REPORT CREATE AND EDIT MONI TOR CREA TION AND
RUN TEST MONITORS
GENERA TE AND/OR DELIVER
EDI TING
Q3
REPORT
L5
219
Patent Application Publication
Feb. 12, 2004 Sheet 1 0f 18
Nam: :65 g
US 2004/0030947 A1
8.5: 5 3
Silk $6M wmk m
NIB.
SE
:58 g
95% Sad %
g
6E 5
Patent Application Publication
Feb. 12, 2004 Sheet 2 0f 18
US 2004/0030947 A1
(-200 TOP LEVEL SELECT/ON
Q REPORT CREATE AND EDIT MONI TOR CREA TION AND
MONITORS
GENERA TE AND/OR DELIVER
EDI TING
Q3
REPORT
RUN TEST
.225
219
FIG. 2
Patent Application Publication
Feb. 12, 2004 Sheet 3 0f 18
START
US 2004/0030947 A1
y’ 300
L2 >4 ‘7
DISPLA Y MONITORS IN "SOAP" GROUP
224 ‘Y
MARK
SELECTION 306
NEW MONITOR
—
REPORT ‘Y
CREA TE CONFIGURA no” FOR NEW MONITOR Q3
N0
DISPLA Y REPORT FOR A MONITOR 310 —
EOIT EXISTING MONITOR 312 —
ADD?
UPDATE?
?
318
YES ACTIVATE AND
ACTIVATE
_ ADD TO MONITORS
EOITEO
IN GROUP
MONITOR
is
E FIG. 3
Patent Application Publication
Feb. 12, 2004 Sheet 4 0f 18
START 402 SEND HTTP DATA r0
BROWSER (BLANK FORM)
.4951.
1, HTTP/HTML RECEIVE INFO FROM BROWSER
M‘
CREATE CONFIGURA TION FILE
4_10 DONE
4_12 FIG. 4
US 2004/0030947 A1
K
400
Patent Application Publication
Feb. 12, 2004 Sheet 5 0f 18
START _5_Q2_' SEND HTTP DA TA T0
BROWSER (FILLED FORM)
5_04
1, HTTP/HTML RECEIVE INFO FROM BROWSER
y‘
CREATE CONFIGURA TION FILE
M
FIG. 5
US 2004/0030947 A1
K
500
Patent Application Publication
*8@Em8mg/\ mBe2“SE?R5%0Ez2:mwES
s“as5%5%5?$
Feb. 12, 2004 Sheet 6 0f 18
US 2004/0030947 A1
6i u
U@EcmD§Em8da395SESBWmg2Q.%E;8:2mQ U@3g_gEwHEmc5.SE886s8m3B.gQSom%$9E?
[email protected]:Ba5?cQg93mEv08nQé5a%b @msE.$\6*BMEs23Q6.E85B0RQ5E,
[email protected]:8iE
tE2:Em53mS@?E5mQE05 2t5£5ES2QE86mE
g655mg95:m%2
aQmgS :BM,
E9E 8Q 6EQ
mg‘aQ@8B5Q0E5
5E5?asESE
@5QQ85EQI
Patent Application Publication
Feb. 12, 2004 Sheet 7 0f 18
US 2004/0030947 A1 700
704
Add Web Service Monitor
/
Start by entering the URL of the Web Service DescriptorLanguage for the Service or selecting the correct WSDL ?le
705
URL: http:// 708
Example: http://public. freshwater. com
\ 710
File: interop. Wsdl
\
Get Methods
Choose Get Methods to retrieve the methods of the Service FIG. 7 800
Add Web Service Monitor
/
804
Web Service URL:/ http:63.91. 70. 101:80/interop Web Service Methods: 808
echoString 87 0
‘V f
This is a list of available methods for this Web Service
Get Arguments Choose Get Arguments to retrieve the arguments of the above method
FIG. 8
Patent Application Publication
Feb. 12, 2004 Sheet 8 0f 18
US 2004/0030947 A1
/ 900 Add Web Service Monitor 904
Web Service URL:
http:63.91. 10. 101 :80/interop Web Service Methods: /
908
echoString Web Service Arguments:
914
lnputString(string) = this is a parameter
This is a list of available input arguments for the methods to in this Web Service
Update every
10
976
minutes :
amount of time between checks of a monitor
978
Title 920
title that should appear in the Monitor table (optional)
\
Add Monitor
Choose Add Monitor to save the changes to monitor
Advanced Settings FIG. 9A
Patent Application Publication
Feb. 12, 2004 Sheet 9 0f 18
US 2004/0030947 A1
/- 900 922
E Disable 923
temporarily disable monitor sampling and alerting Content Match I I optional, match against query result, using a string or a regular expression or XML names.
924 \
Content- Type I
I The request header content type.
926 \
Request's schema I@ What is the schema SOAP or XML
Authorization I
I
User Name optional user name if the Web Service requires authorization Authorization I
‘
I
Password optional password if the URL requires authorization
HTTP Proxy I
I
optional list of proxy servers to use including port
(example: proxy. freshwater. com:8080)
Proxy Server I User Name
I optional user name if the proxy server requires authorization
Proxy Server I
I
P3 5 Sword optional password if the proxy server requires authorization
FIG. 9B
Patent Application Publication
Feb. 12, 2004 Sheet 10 0f 18
US 2004/0030947 A1
C1 Verify Error if the monitor detects an error, immediately perform the check again to verify the error.
930 \
Update every - minutes : (on errors) the amount of time between checks whenever the status of the monitor is not ok; the Update value from above is used if this is left blank
932 \
Schedule
eve da , allda
4‘
schedule for the monitor to be enabled - for example, disable
Sunday from 10:00 to 74:00; if blank monitor is always enabled Edit Schedules
Monitor l
Description
| additional description of monitor that appears on Monitor
Detail page (optional)
Report
Description
I
| additional description of monitor that appears on Reports and in monitor popup info (optional)
934 \ List Order
ilast
¢|
choose where this monitor appears in the list of monitors on the Monitor Detail page
936 \ Error if 938 \
_
| status !=200(defalut) ¢||l=
:IF I
A
Warning if [none (default) ¢||>=
3“
|
Good if I Always (default)¢|| > = 940 /
¢||
|
FIG. 9C
Patent Application Publication
Feb. 12, 2004 Sheet 11 0f 18
US 2004/0030947 A1
f- 1000 _dependsC0ndition= good 1001
_nextID: 7
\ _name= config
7002
#
_acti0nuri: urn:inter0pLab #echoString _c/ass= WebServiceMonitor
7004
id = 1
_wsdlur/ : D: \vgdev\5ite5c0pe \templates. wsdl/interop. wsd/
_5erverurl= http://john. freshwater. c0m:80/inter0p _meth0dname=ech0String\ 7008 _frequency= 600
\ 1006 1010
1012 \jrgnames = input5tring(string) =l1el/0
matchstring :xml. S OAP-EN V:Enve/opeS OAP
EN V:B0dy. m:ech0StringResp0nse. 0utputString=hell0 _meth0dns = urn:xmeth0dslnter0p /--—~ 1014
_name= ech0String with Match Content 1001 \jchema a 7016 # *‘ _acti0nuri= urn:inter0pLab#ech05tring
_class= WebServiceMonitor _id: 5 _ vvsd/url : D: \vgdev\SiteSc0pe \templates. wsdl/interop. wsdl
_serverurl= http://john. fresh water. c0m:80/inter0p 7078