internal static void ScriptedSend() { if (ManualTesting.CurrentRequest == null) { return; } IronUI.ResetMTResponseDisplayFields(); Request Request = ManualTesting.CurrentRequest.GetClone(); Request.ID = Interlocked.Increment(ref Config.TestRequestsCount); StoreInGroupList(Request); SetCurrentID(Request.ID); IronDB.LogMTRequest(Request); IronUI.UpdateMTLogGridWithRequest(Request); ScriptedSender Sender = new ScriptedSender(Request.GetClone(), Request.ID, ScSe); ThreadStart TS = new ThreadStart(Sender.DoScriptedSend); Thread SSThread = new Thread(TS); SSThread.Start(); }
public static void SetScriptedSender(ScriptedSender ScSe) { ManualTesting.ScSe = ScSe; }
internal ScriptedSender(Request Request, int ID, ScriptedSender ActualSender) { this.Request = Request; this.ID = ID; this.ActualSender = ActualSender; }
internal static void ScriptedSend() { if (ManualTesting.CurrentRequest == null) return; IronUI.ResetMTResponseDisplayFields(); Request Request = ManualTesting.CurrentRequest.GetClone(); Request.ID = Interlocked.Increment(ref Config.ManualRequestsCount); StoreInGroupList(Request); SetCurrentID(Request.ID); IronDB.LogMTRequest(Request); IronUI.UpdateMTLogGridWithRequest(Request); ScriptedSender Sender = new ScriptedSender(Request.GetClone(), Request.ID, ScSe); ThreadStart TS = new ThreadStart(Sender.DoScriptedSend); Thread SSThread = new Thread(TS); SSThread.Start(); }