简体   繁体   中英

Suds response time measurement

Is there a way to make suds (python) returning the last call response time?

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() ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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