зеркало из https://github.com/mono/xsp.git
Родитель
257843c67d
Коммит
bfee4f8c41
|
@ -65,7 +65,11 @@ How to test
|
|||
-----------
|
||||
|
||||
Build XSP and start the server as usual.
|
||||
cd to xsp/test and run ServiceClient.exe.
|
||||
cd to xsp/test and run ServiceClient.exe passing the hostname and port:
|
||||
|
||||
For example:
|
||||
|
||||
mono ServiceClient.exe localhost:8080
|
||||
|
||||
After execution, you should see the files trace.log and dump.log in
|
||||
xsp/server/test with the traces of the requests. You can try to add and remove
|
||||
|
|
|
@ -4,10 +4,12 @@ namespace WebServiceTest
|
|||
{
|
||||
public class ServiceClientTest
|
||||
{
|
||||
static void Main()
|
||||
static void Main(string [] args)
|
||||
{
|
||||
Console.WriteLine ("Testing simple web service");
|
||||
TestService s = new TestService ();
|
||||
if (args.Length>0)
|
||||
s.Url = "http://" + args [0] + "/TestService.asmx";
|
||||
for (int n=0; n<10; n++)
|
||||
{
|
||||
string res = s.Echo ("hola");
|
||||
|
|
Загрузка…
Ссылка в новой задаче