Пример #1
0
        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();
        }
Пример #2
0
 public static void SetScriptedSender(ScriptedSender ScSe)
 {
     ManualTesting.ScSe = ScSe;
 }
Пример #3
0
 internal ScriptedSender(Request Request, int ID, ScriptedSender ActualSender)
 {
     this.Request = Request;
     this.ID = ID;
     this.ActualSender = ActualSender;
 }
Пример #4
0
 public static void SetScriptedSender(ScriptedSender ScSe)
 {
     ManualTesting.ScSe = ScSe;
 }
Пример #5
0
 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();
 }
Пример #6
0
 internal ScriptedSender(Request Request, int ID, ScriptedSender ActualSender)
 {
     this.Request      = Request;
     this.ID           = ID;
     this.ActualSender = ActualSender;
 }