Any assembly that provides the contract types would do, but if you have the client-side proxy assemblies then that would be better as it would add the assembly to the test project and use the proxy to call the service.
I am not sure I understand what you are looking for in your last question. The tool requires a message log to be able to generate a test because the tool is scenario based and reproduces the scenario you ran. It can use a message log taken from the service
side or the client side, but it will still need the contract classes at the very least so that it can generate the code.
Thank u so much for ur reply. Now the test tool seems working good.I have one problem. Actually my requirement is that i want to know at which point the server is not going to respond( for say my thresold value is 5 secs).For this i have created one
wcf load test. There i have given my windows form applications exe and created the trace file.Then i added both the exe file(windows form client application) and wcf dll file in the add assembly section .
I have also added the app.config file from my windows forms application to the test project.Then i tested the wcf unit test.
It is working fine.It is also inserting the record in the database.I am really happy with that.
Then for my LoadTest i added one new LoadTest template and added the
Think time between iterations=0(As i want to test once with say 20 concurrent users)
Test mix=Based on the no. of virtual users.
Counter sets=i have not added any thing.
Length of the loadTest=Test Iterations=1.
and then i run it.
I have also changed Run Unit Test In application Domain to True.
I then run it.
But to my surprise only one record is being posted in the database. Why it so???I have given 20 concurrent users so 20 records should post.
So i am getting how to test it. My requirement is
If 5 concurrent users are trying to access the same method then what is the response time.
If 10 concurrent users are trying to access the same method then what is the response time.
By end of this process i want to know when the response time is going to cross 5 seconds.
But if i am taking the iterations as say 20 then 20 records are posted but what i think is not a right way because that way we are carrying out 20 different test.
SO please guide me on this topic.
Again i also tried for step load where i again choose step load with starting 5 users and increasing 5 users at a duration of 5 secs. and maximum users to be40 and mentioned the iterations to 1 but results came the same ie. one record is posted in the database.
if i am increasing the no. of iterations then that many no. of records are posted.
Should i add "Add computers " in the counter sets option of the test model.
I am really confused about how to set it.
I have gone through some topics but seems not working properly.