ajax前端调用wcf
Service1.svc接口测试
必填参数:
userId:
manageId:
device:
time:
verId:
onlineMark:
sign:
Common.svc接口测试
Client.svc接口测试
Factory.svc接口测试
APP-账号相关
APP-数据相关/Web-数据相关
Factory.svc接口测试
Web-账号相关
Web-数据相关
Web-现货数据批量
性能测试:
1万条记录
Insert、Update
{"__type":"WcfResultEntityOfstring:#LeaRun.Application.WCF.Entity","code":0,"data":null,"msg":"现货数据保存成功,转换耗时:493毫秒;新增了10000条。总耗时:7429毫秒。"}
{"__type":"WcfResultEntityOfstring:#LeaRun.Application.WCF.Entity","code":0,"data":null,"msg":"现货数据保存成功,转换耗时:3893毫秒;修改了10000条。总耗时:40085毫秒。"}
BulkInsert、BulkUpdate
{"__type":"WcfResultEntityOfstring:#LeaRun.Application.WCF.Entity","code":0,"data":null,"msg":"现货数据保存成功,转换耗时:397毫秒;新增了10000条。总耗时:1631毫秒。"}
{"__type":"WcfResultEntityOfstring:#LeaRun.Application.WCF.Entity","code":0,"data":null,"msg":"现货数据保存成功,转换耗时:3677毫秒;修改了10000条。总耗时:5188毫秒。"}
5万条记录
Insert、Update
{"__type":"WcfResultEntityOfstring:#LeaRun.Application.WCF.Entity","code":1004,"data":null,"msg":"服务端运行错误。引发类型为“System.OutOfMemoryException”的异常。"}
BulkInsert、BulkUpdate
{"__type":"WcfResultEntityOfstring:#LeaRun.Application.WCF.Entity","code":0,"data":null,"msg":"现货数据保存成功,转换耗时:428毫秒;新增了50000条。总耗时:8727毫秒。"}
{"__type":"WcfResultEntityOfstring:#LeaRun.Application.WCF.Entity","code":0,"data":null,"msg":"现货数据保存成功,转换耗时:2474毫秒;新增了50000条。总耗时:11868毫秒。"}
{"__type":"WcfResultEntityOfstring:#LeaRun.Application.WCF.Entity","code":0,"data":null,"msg":"现货数据保存成功,转换耗时:100262毫秒;修改了50000条。总耗时:100265毫秒。"}
{"__type":"WcfResultEntityOfstring:#LeaRun.Application.WCF.Entity","code":0,"data":null,"msg":"现货数据保存成功,转换耗时:110278毫秒;修改了50000条。总耗时:118211毫秒。"}
10万条记录
BulkInsert、BulkUpdate
{"__type":"WcfResultEntityOfstring:#LeaRun.Application.WCF.Entity","code":0,"data":null,"msg":"现货数据保存成功,转换耗时:3477毫秒;新增了100000条。总耗时:19921毫秒。"}
{"__type":"WcfResultEntityOfstring:#LeaRun.Application.WCF.Entity","code":0,"data":null,"msg":"现货数据保存成功,转换耗时:59476毫秒;修改了10000条。总耗时:62092毫秒。"}