Exemple #1
0
        internal static void SerializeRequestBody(object BFPObject)
        {
            string PluginName = "";

            try
            {
                BodyFormatParamters BFP     = (BodyFormatParamters)BFPObject;
                Request             Request = BFP.Request;
                FormatPlugin        Plugin  = BFP.Plugin;
                PluginName = Plugin.Name;
                string XML = BFP.XML;

                Request NewRequest = Plugin.ToRequestFromXml(Request, XML);
                IronUI.FillMTRequestWithNewRequestFromFormatXML(NewRequest, PluginName);
            }
            catch (ThreadAbortException)
            {
                //
            }
            catch (Exception Exp)
            {
                IronException.Report("Error Serializing 'Manual Testing' Request using Format Plugin - " + PluginName, Exp.Message, Exp.StackTrace);
                IronUI.ShowMTException("Error Serializing");
            }
        }
Exemple #2
0
        internal static void StartSerializingRequestBody(Request Request, FormatPlugin Plugin, string XML)
        {
            BodyFormatParamters BFP = new BodyFormatParamters(Request, Plugin, XML);

            RequestFormatThread = new Thread(ManualTesting.SerializeRequestBody);
            RequestFormatThread.Start(BFP);
        }
Exemple #3
0
 internal static void StartDeSerializingRequestBody(Request Request, FormatPlugin Plugin, List<bool> CheckStatus, bool CheckAll)
 {
     BodyFormatParamters BFP = new BodyFormatParamters(Request, Plugin, CheckStatus, CheckAll);
     RequestFormatThread = new Thread(Scanner.DeSerializeRequestBody);
     RequestFormatThread.Start(BFP);
 }
Exemple #4
0
 internal static void StartSerializingResponseBody(Response Response, FormatPlugin Plugin, string XML)
 {
     BodyFormatParamters BFP = new BodyFormatParamters(Response, Plugin, XML);
     ResponseFormatThread = new Thread(IronProxy.SerializeResponseBody);
     ResponseFormatThread.Start(BFP);
 }
Exemple #5
0
 internal static void StartDeSerializingRequestBody(Request Request, FormatPlugin Plugin)
 {
     BodyFormatParamters BFP = new BodyFormatParamters(Request, Plugin);
     RequestFormatThread = new Thread(IronProxy.DeSerializeRequestBody);
     RequestFormatThread.Start(BFP);
 }
Exemple #6
0
 internal static void StartSerializingRequestBody(Request Request, FormatPlugin Plugin, string XML)
 {
     BodyFormatParamters BFP = new BodyFormatParamters(Request, Plugin, XML);
     RequestFormatThread = new Thread(ManualTesting.SerializeRequestBody);
     RequestFormatThread.Start(BFP);
 }