When I follow the documentation (http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/load_testing_extensions.aspx) to create a load test extension then I get the attached error message in Test Studio:
"An unexpected error occurred in Test Studio. The error has been reported to the Telerik team."
The load test extension is the one from the documentation with a slight modification to match the interface methods.
This seems to be a bug in Test Studio to me. Or please tell me what I'm doing wrong. Thank you!
We followed the steps for plugins and put the DLL in %ProgramFiles%\Telerik\Test Studio\Bin\Plugins\
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Text;
using
System.IO;
using
System.Data;
using
System.Data.OleDb;
using
ArtOfTest.WebAii.Design.Execution;
using
Telerik.TestStudio.Load.Interfaces.Load.API;
namespace
ClassLibrary1
{
public
class
Class1 : ILoadAgentPlugin, ILoadAgentPluginHttpRequest, ILoadAgentPluginVirtualUser
{
public
void
VirtualUserAllocated(Guid userProfileId, Guid virtualUserId)
{
Random random =
new
Random();
int
randomNumber = random.Next(0, 5000);
File.Create(
"c:\\test\\"
+ randomNumber.ToString());
}
public
void
VirtualUserDeallocated(Guid userProfileId, Guid virtualUserId)
{
}
public
void
AfterResponseReceived(Guid virtualUserId,
int
currentStepIndex, System.Net.HttpWebResponse response,
string
rawResponse)
{
}
public
void
BeforeRequestSent(Guid virtualUserId,
int
currentStepIndex, System.Net.HttpWebRequest request)
{
}
public
string
OverrideOutgoingUrl(Guid virtualUserId,
int
currentStepIndex,
string
url)
{
return
url;
}
public
void
UserProfileAllocated(Guid profileRunID,
string
profileFriendlyName)
{
}
}
}
Hi all.
We are using Microsoft Test manager to manage all our test cases with automated tests. Our plan is create automated test suite in Microsoft Test manager and run it through TFS. We are able to run tests through Microsoft Test manager as well as from TFS build.
However we couldn’t get results and logs back to Test manager or to TFS build during failure. When we run Telerik Test studio tests through Telerik Test studio plugin we are getting nice logs as well as snapshots. Is there any way to access those log files and snapshots when we are executing automated tests thought Microsoft Test manager
Thanks,
Suranga