Load Test and certificates

I have to do a load/stress test using a webportal that uses certificates. I have to simulate different users logging in using different certificates.

How would I be able to achieve this using a single machine

Thanks for your helpSmile,
Thomas




Answer this question

Load Test and certificates

  • DeadlySpider

    Thomas,
    I am adding the ability to specify client certificates on WebTestRequests, but unfortunately that feature does not exist in Beta 2.  From a single machine, you'll be able to set any certificate(s) you want on each WebTestRequest from a coded web test or from a WebTestRequestPlugin.

    I hope that clears it up, although you'll have to wait until the next CTP release to be able to use it.

    Josh

  • JHibbins

    With Beta 2, I'm trying to record a simple login web test to a site that uses certificates.  I have IE configured so that I get no pop-ups about trusting or picking certificates, but instead go straight to the login interface and can successfully log in.  When I record that as a web test and then try to run the test, I get a 'forbidden" error on the first http request.  So, is it that client certificates are not supported at all in Beta 2, or just that one can not specify which of multiple certificates you wish to use and I am just missing something in my environment for using the one default certificate I have   If the later (she says with fingers crossed and humbly admitting this is her first foray into using VSTS), what configuration stuff should I modify   If the former, can you tell us when the next release will be available

    Thanks in advance for your help.


  • knallbunt

    Unfortunately, the ability to use client certificates does not exist in the Beta 2 release.  There is no workaround since the feature was simply not ready in time.

    The next CTP release is targeted for the end of June and it will include support for client SSL certificates.  The API is modeled after System.Net.HttpWebRequest's use of client certificates.

    Josh

  • Load Test and certificates