Regards,<br />Ketan KC Chachad
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Regards,<br />Ketan KC Chachad
Originally posted by Ketan Chachad:
And is the wire-traffic the only reason for such exceptions to arise?
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Regards,<br />Ketan KC Chachad
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Regards,<br />Ketan KC Chachad
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Regards,<br />Ketan KC Chachad
Regards,<br />Ketan KC Chachad
Originally posted by Ketan Chachad:
3. Now TCPSniffer generated a whole load of output which I was to see .
But now the task of understand what TCPSniffer has outputed is where I again require help . Can you help me in understanding the output?
Regards,<br />Ketan KC Chachad
Have you searched for them? I can't remember where they go.Where can I find httpsniffer.out and httpsniffer.err?
You give the same command as on the client. The TCPSniffer only proxies traffic from one port to another and back -- it doesn't care whether it's on the "server-side" or on the "client-side".Also a question to Lasse, last time you said that I could run TCPSniffer on the server too ... in this case how do I give the command?
I don't think there is a way to just display the SOAP messages, unless you switch to some other tool. TCPSniffer is not a SOAP-sniffer but a TCP-sniffer...Also I did execute the TCPSniffer on the client machine (Windows 95) and it gave loads of output on the screen (i.e. standard output) as previously said by me. How do I just display the SOAP messages exchanged in this case?
Umm, what do you mean "more urgently"?But I want the command to execute TCPSniffer on the server more urgently.
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Have you searched for them? I can't remember where they go.
Regards,<br />Ketan KC Chachad
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
The manual tells us that the two files are produced only by the Sniff'n'Grind web application, not by the command-line client alone. Although it looks like those files wouldn't give you any more information than the regular output you're seeing when running TCPSniffer from the command-line.I made a search on the whole server and did not find it.
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Regards,<br />Ketan KC Chachad
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
--- localhost:1146->192.168.0.1:8080 opened --
--- 192.168.0.1:8080->localhost:1146 opened --
------ localhost:1146->192.168.0.1:8080 ------
POST http://202.63.169.10:8000/soap/servlet/rpcrouter HTTP/1.0
Host: 202.63.169.10
Content-Type: text/xml; charset=utf-8
Content-Length: 497
SOAPAction: ""
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:authenticate xmlns:ns1="urn:receive" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<authent xsi:type="xsd:string">IMS</authent>
<center xsi:type="xsd:string">99</center>
</ns1:authenticate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
--- localhost:1143->192.168.0.1:8080 closed --
--- 192.168.0.1:8080->localhost:1143 closed --
------ 192.168.0.1:8080->localhost:1146 ------
HTTP/1.0 500 Internal Server Error
Server: Squid/2.3.STABLE4
Mime-Version: 1.0
Date: Thu, 27 Nov 2003 12:28:23 GMT
Content-Type: text/html
Content-Length: 682
Expires: Thu, 27 Nov 2003 12:28:23 GMT
X-Squid-Error: ERR_READ_ERROR 104
X-Cache: MISS from SERVER1
Proxy-Connection: close
<HTML><HEAD>
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR>
<P>
While trying to retrieve the URL:
<A HREF="[no URL]">[no URL]</A>
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Read Error
</STRONG>
</UL>
<P>
The system returned:
<PRE><I> (104) Connection reset by peer</I></PRE>
<P>
An error condition occurred while reading data from the network. Please
retry your request.
<P>Your cache administrator is <A HREF="mailto:root">root</A>.
<br clear="all">
<hr noshade size=1>
Generated Thu, 27 Nov 2003 12:28:23 GMT by SERVER1 (Squid/2.3.STABLE4)
</BODY></HTML>
--- 192.168.0.1:8080->localhost:1146 closed --
--- localhost:1146->192.168.0.1:8080 closed --
Regards,<br />Ketan KC Chachad
Regards,<br />Ketan KC Chachad
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Regards,<br />Ketan KC Chachad
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Regards,<br />Ketan KC Chachad
Don't get me started about those stupid light bulbs. |