0
我们在后端使用VDDK API,需要模拟VDDK API进行测试。因为它不是一个SOAP接口,任何人都不知道用来帮助我们模拟apis的协议吗?VDDK API Mocking
我们在后端使用VDDK API,需要模拟VDDK API进行测试。因为它不是一个SOAP接口,任何人都不知道用来帮助我们模拟apis的协议吗?VDDK API Mocking
这不是一个完整的答案,因为我现在正在处理它,但协议似乎是基于FTP的。以下是第一线(S>表示服务器答案,C>表示客户端的请求):
C> (client connects on port 902) S> 220 (something) C> (if server answer contains "SSL Required", then switch to SSL) C> USER user S> 331 Password required for user. C> PASS password S> 230 User user logged in.
下一步我会跟着是写一个假的FTP服务器,看看C客户机库发送到服务器。
待续...也许:)