How to send request with credential in unit test?

Nov 17, 2008 at 3:41 AM
The server side we are testing is a secured web services (https://), the auto generated unit test code doesn't contain the code to set client credential.

Is there a way in WCF Load Test to inlcude the credential setting into unit test code?
Coordinator
Nov 17, 2008 at 8:36 AM

The intention is that any sort of set up you need to do should be added to the “stub” file, the one that does not contain any unit tests but is designed for your own customisations.

I hope that helps, if not please feel free to ask any further questions.

Regards

Rob

Robert Jarratt

Senior Consultant II

Microsoft Consulting Services

Microsoft Ltd.

Tel.: +44 (118) 909 4923

mailto:rjarratt@microsoft.com

This email may contain confidential information. If you are not named on the addressee list, please take no action in relation to this email, do not open any attachment, and please contact the sender (details above) immediately.

Information in this email is provided in good faith. If you are a customer of Microsoft, please refer to the terms and conditions which cover the provision of support and consulting services to you/your organization. If you are not corresponding in the course of, or in connection with a Microsoft contract or programme with its own terms and conditions, please note that no liability is accepted by Microsoft for the contents of this mail.

Microsoft Limited (company number 01624297) is a company registered in England and Wales whose registered office is at Microsoft Campus, Thames Valley Park, Reading. RG6 1WG.

From: wezhou [mailto:notifications@codeplex.com]
Sent: 17 November 2008 03:42
To: Rob Jarratt (MCS UK)
Subject: How to send request with credential in unit test? [WCFLoadTest:40064]

From: wezhou

The server side we are testing is a secured web services (https://), the auto generated unit test code doesn't contain the code to set client credential.

Is there a way in WCF Load Test to inlcude the credential setting into unit test code?

Read the full discussion online.

To add a post to this discussion, reply to this email (WCFLoadTest@discussions.codeplex.com)

To start a new discussion for this project, email WCFLoadTest@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com