Exemplo n.º 1
0
        internal static void DeSerializeRequestBody(object BFPObject)
        {
            string PluginName = "";

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

                string XML = Plugin.ToXmlFromRequest(Request);
                IronUI.FillMTRequestFormatXML(XML);
            }
            catch (ThreadAbortException)
            {
                //
            }
            catch (Exception Exp)
            {
                IronException.Report("Error Deserializing 'Manual Testing' Request using Format Plugin - " + PluginName, Exp.Message, Exp.StackTrace);
                IronUI.ShowMTException("Error Deserializing");
            }
        }