Ask a questionAsk a question
 

AnswerLoad testing the Data Services

Answers

  • Thursday, November 05, 2009 7:01 PMPeter Qian - MSFTAnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    For automated testing, you can try use our client library. Run several of them across different PROCESSES (or better yet, different machines). There was a known issue in .net 3.5 where the HttpWebRequest stack can deadlock if you have too many requests going on per process.

    This way you can easily control the type of queries you send, and be able to cover CRUD operations.

    Regards,
    PQ

    Peter Q. http://blogs.msdn.com/peter_qian
    • Marked As Answer byJif Thursday, November 05, 2009 9:56 PM
    •  

All Replies

  • Wednesday, November 04, 2009 11:32 PMShayne Burgess - MSFTModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Can you explain more about what you mean by "Test DataServices". I'm not sure what a test dataservice is.

    Thanks,
    Shayne
  • Thursday, November 05, 2009 3:48 AMJif Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have an application that uses ADO.Net Data Services as a backend (hosted in IIS) that fronts an Entity Framework model and I would like to generate some transactions through it to see what level of service it can provide.

    I would imagine that someone else has already thought to do this and has used some tool to generate the RESTful posts.  Any ideas which?

    Thanks for your reponse.
  • Thursday, November 05, 2009 7:01 PMPeter Qian - MSFTAnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    For automated testing, you can try use our client library. Run several of them across different PROCESSES (or better yet, different machines). There was a known issue in .net 3.5 where the HttpWebRequest stack can deadlock if you have too many requests going on per process.

    This way you can easily control the type of queries you send, and be able to cover CRUD operations.

    Regards,
    PQ

    Peter Q. http://blogs.msdn.com/peter_qian
    • Marked As Answer byJif Thursday, November 05, 2009 9:56 PM
    •