<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>StresStimulus Forum - SUPPORT QUESTIONS - Create a test case from code instead of recorder - Messages</title>
<link>https://www.stresstimulus.com/forum/create-a-test-case-from-code-instead-of-recorder-635</link>
<description>StresStimulus Forum - SUPPORT QUESTIONS - Create a test case from code instead of recorder - Messages</description>
<language>en-us</language>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Jitbit AspNetForum</generator>
<pubDate>Mon, 29 Jan 2018 10:23:58 GMT</pubDate>
<lastBuildDate>Mon, 29 Jan 2018 10:23:58 GMT</lastBuildDate>
<item>
<link>https://www.stresstimulus.com/forum/create-a-test-case-from-code-instead-of-recorder-635</link>
<title>Message from George @StresStimulus</title>
<description><![CDATA[You cannot create a test case without recording it because it must have at least one HTTP request. But if I understood your question correctly, this should not be an obstacle to what you want to achieve. Here is the workaround.<br/>  Create your C# class inside an asp.net webpage (let’s call it MyClass.aspx). Execute this class inside the Page_Load event of the page. This page does not need to return any HTML.  You can host this page in IIS or IIS Express that comes with Visual Studio.<br/>  Then, record a test case consisting of one HTTP request opening MyClass.aspx in a browser.<br/>  After that, when you replay this test case, it will execute your C# class. You can emulate the number of virtual users that you need and StresStimulus will capture performance metrics.]]></description>
<pubDate>Mon, 29 Jan 2018 10:23:58 GMT</pubDate>
</item>
<item>
<link>https://www.stresstimulus.com/forum/create-a-test-case-from-code-instead-of-recorder-635</link>
<title>Message from Unregistered User</title>
<description><![CDATA[Can I build a test in StresStimulus without recording a test case. Example, running a C# class to do the creation of data?]]></description>
<pubDate>Mon, 29 Jan 2018 08:03:46 GMT</pubDate>
</item>
</channel>
</rss>
