Aracılığıyla paylaş


WebTestRequest.Outcome Özellik

Alır veya ayarlar Web performans sınaması isteği Pass ya da Fail sonucunu.

Ad alanı:  Microsoft.VisualStudio.TestTools.WebTesting
Derleme:  Microsoft.VisualStudio.QualityTools.WebTestFramework (Microsoft.VisualStudio.QualityTools.WebTestFramework.dll içinde)

Sözdizimi

'Bildirim
Public Property Outcome As Outcome
    Get
    Set
public Outcome Outcome { get; set; }
public:
property Outcome Outcome {
    Outcome get ();
    void set (Outcome value);
}
member Outcome : Outcome with get, set
function get Outcome () : Outcome
function set Outcome (value : Outcome)

Özellik Değeri

Tür: Microsoft.VisualStudio.TestTools.WebTesting.Outcome
Web performans sınaması isteğinin sonucu.

Açıklamalar

WebTestRequest.Outcome ayarlamak için temel nedeni, böylece WebTestRequest aktarılan rağmen beklenen hatası olarak işaretlenmiş bir beklenen hatasını yoksay sağlamaktır.

Web performans sınaması kodunuzu bir WebTestRequest sonucunu belirler, onu PostRequest olay işleyicisinde yapmalısınız. Önceden ayarlı, Web performans test çalışma zamanı altyapısı, ayarladığınız değer geçersiz kılabilir.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

WebTestRequest Sınıf

Microsoft.VisualStudio.TestTools.WebTesting Ad Alanı