Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 Tsung 使用 tsung_ws 插件加载测试 socket.io 应用程序。但是,websocket 的 Socket.io 实现依赖于它们的 javascript。
有没有办法做到这一点?
Tsung 不能执行 javascript 代码,所以即使我不知道 socket.io 我认为它不可能做你想做的事。
Tsung 现在支持通过特殊会话类型的websocket 连接
<session name="websocket" type="ts_websocket">
或通过切换协议。
当我开始学习 php 时,我了解到当我想调用 php 时,我需要将 php 代码放在这段代码之间,<?php ?>但我也看到了这一点,<? ?>所以我坚持使用第二个选项。
<?php ?>
<? ?>
它们两者之间有什么区别吗,因为最近我看到在一台机器上,第二个选项不起作用,而第一个选项起作用,这让我很困惑。