Eseguire codice nei Context Parameters dei Web Test

Share on:

VSTS non finisce mai di stupirmi. In passato avevo creato una Extraction Rule che in verità "scriptava" il codice che gli veniva passato. Ma questo è molto più bello...

I started looking over with the WebTest codebase and realised that I was able to quite easily add support for scriptable context parameters:

ContextParam

This could be a very useful feature if you need to evaluate something only once per test and at the beginning of the test. You might be able to use this to replace data binding on some of your fields.

Fonte: WebTest Scriptable Context Parameters

Technorati Tags: Tester

Post originale