HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

Help on C# Scriptable Vars - extractor value Messages in this topic - RSS

clinares
clinares
Posts: 3


2/10/2020
clinares
clinares
Posts: 3
Folks,

Is there a guide on how to use the scriptable vars, I am coding in C# and I want to make a reference of a Extraced variable into my C# code:


string IExternalVariable.GetValue(SessionContext context)
{
string text= File.ReadAllText(@"c:\file.txt", Encoding.UTF8);

return text;



//throw new NotImplementedException();
}


I want to read the file from the extracted parameter from a correlation, I believe this can come come the context object, but cant find any help on this.
0 link






Copyright © 2024 Stimulus Technology