简体   繁体   English

响应时间测量

[英]Suds response time measurement

Is there a way to make suds (python) returning the last call response time? 有没有办法使suds(python)返回上次呼叫响应时间?

A kind of: 一种:

result = self.EchoPort.service['echoPort']['echo'](request="ping")
time= self.EchoPort.service.getLastCallResponse()

Thanks 谢谢

I don't think this is currently possible. 我认为目前这是不可能的。 However suds supports logging this information via the "suds.metrics" logger (DEBUG log level, see suds.client.Client:invoke() ). 但是suds支持通过“ suds.metrics”记录器记录此信息(DEBUG日志级别,请参阅suds.client.Client:invoke() )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM