application center test viewstate over SSL
Instead of auto recording, I manually created a Application center test script with view state to stress my application, it works fine while connecting to server without SSL, but when connecting to server with SSL enabled, no response is returned, maybe the server does not take manually created view state over SSL? anybody done this before?
Set g_oConnection = Test.CreateConnection(myserver, 80, false) 'connecting to server without SSL
or
Set g_oConnection = Test.CreateConnection(mysecuredserver, 443, true) 'connecting to server with SSL enabled
g_oRequest.Body = "__VIEWSTATE=" & g_ViewState & "&DropDownList1=" & "d113445" & _
"&txtID=" & "" & "&Button1=Submit"
Set g_oResponse = g_oConnection.Send(g_oRequest)
This forum is for the new Visual Studio 2005 Load Testing features, not ACT.
What you are trying to do should work, however I can't see how you are setting the value for g_ViewState. You will need to extract the viewstate value from the previous response.
Ed.