https://wsit.dev.java.net/issues/show_bug.cgi?id=969User daveronge changed the following:
What |Old value |New value
================================================================================
Priority|P3 |P2
--------------------------------------------------------------------------------
------- Additional comments from
daveronge@... Fri Jul 18 13:14:19 +0000 2008 -------
Increasing priority as suggested to P2.
Also pasting contents of e-mail response from me for later reference
(instruction to separate single test from 16):
1. Check out from sunsw cvs:
tango/qe-tests/jax-rm/interop-3.5
tango/qe-tests/jax-rm/test
tango/qe-tests/xtest-distribution
(eventually tango/qe-tests/gf-setup to get and configure GF)
2. Change to tango/qe-tests/jax-rm/test of the checked copy.
3.Now modify cfg-interop-3.5.xml there:
Use attached cfg-*.xml file (zipped) or if you run unix-like CLI paste following
in the above mentioned directory:
cat > mod-cfg-test.sh <<-"EOF"
#!/bin/sh
unset bag_suff method
grep 1 <<< "$1" && bag_suff='-sec1way'
grep 2 <<< "$2" && method=4 || method=5
[ -f "cfg-interop-3.5.xml.orig" ] || cp cfg-interop-3.5.xml cfg-interop-3.5.xml.orig
sed -e
'/<testbag.*executor="interop-3_5-executor'$bag_suff'"/,/^[[:blank:]]*<\/testbag>/{s/\(testattribs="\)[[:alnum:]]\{1,\}"/\1debug"/;s/<patternset/&
attribs="select"/;s/\(Tests.class\)/&\/testSend*'$method'/;}'
cfg-interop-3.5.xml.orig > cfg-interop-3.5.xml
EOF
(Followed by "chmod +x mod-cfg-test.sh" eventually.)
Run "./mod-cfg-test.sh 1way soap1.2" for secure one-way with soap 1.2.
(Only secure RMs of version 1.0 are affected.)
Use 2way instead of 1way and/or soap1.1 instead of soap1.2 if you need to cover
one of the remaining test cases.
(Script only checks presence of "1" for the first arg and "2" for the 2nd. Bash
ccompatible.)
It will modify respective testbag entry in cfg-interop-3.5.xml leaving backup
copy of this file for re-run.
There are 4 methods in each of the two test classes
(SecureReliableOneWay.java.rhs and SecureReliableRoundTrip.java.rhs are the
primary source files to modify)
testSendPingCustom4
testSendPingCustom5
testSendPingCustom12
testSendPingCustom13
and
testSendEchoCustom4
testSendEchoCustom5
testSendEchoCustom12
testSendEchoCustom13 respectively.
The cfg-interop-3.5.xml needs to be modified for testbag entry with
name="Interoperability tests - RM secure one-way"
or "Interoperability tests - RM secure roundtrip" for one-way and roundtrip case
respectively;
namely the "testattribs" value should be changed to "debug" and the nested
element <patternset>
should be provided with attribute 'attribs="select"' for the desired test case
to be selectable by providing
-Dxtest.attribs="debug" and -Dxtest.patternset.attribs="select" (the two values
are arbitrary they only need to fit between config
and arguments) when running ant command later.
Sorrowfully providing only the xtest.patternset.attribs didn't work for me with
the xtest version I had though in theory it should have.
Moreover to select the single case the "<include..." filter inside of the test
bag entry should be appended with the method name
or its sufficient pattern after the classname, so for soap 1.2 the *Custom4
method is active while it should be *Custom5 for 1.1.
ext, still in tango/qe-tests/jax-rm/test directory, issue this comand:
ant -Dxtest.testtype=interop-3.5 -Dxtest.wsit.dest.dir=$AS_HOME/lib
-Dhave-proxy=false -Dxtest.indigo.host=yinyang.india.sun.com -Dlogverbose=y
-Dxtest.patternset.attribs=select -Dxtest.attribs=debug > log.output.log
Additional -Drun.debugger=whatever is necessary if you like to attach debugger
to default port of 9008.
If you need different port you may specify
-Ddebugger.port={{desired-port-value}} instead.
---------------------------------------------------------------------
To unsubscribe, e-mail:
issues-unsubscribe@...
For additional commands, e-mail:
issues-help@...