You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
999 B
42 lines
999 B
using OT.COM.LogisticsUtil;
|
|
using OT.COM.SignalerMessage;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace CounsellorBL
|
|
{
|
|
public partial class JemeterTestService
|
|
{
|
|
public CResponseMessage TestJMeter(CRequestMessage i_crm)
|
|
{
|
|
CResponseMessage crm = null;
|
|
string sMsg = null;
|
|
|
|
try
|
|
{
|
|
do
|
|
{
|
|
Random r = new Random(DateTime.Now.Millisecond);
|
|
crm = new CSuccessResponseMessage(string.Format("ResTest {0}", r.Next()), i_crm);
|
|
|
|
}
|
|
while (false);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
sMsg = new Util().GetLastExceptionMsg(ex);
|
|
}
|
|
|
|
if (null != sMsg)
|
|
{
|
|
crm = new CErrorResponseMessage(sMsg, i_crm);
|
|
}
|
|
|
|
return crm;
|
|
}
|
|
|
|
}
|
|
}
|