Apifox update | WebSocket interface debugging function is online

The new version of Apifox  is online! Welcome to upgrade and use: [Settings] in the upper right corner of the interface -> [About Apifox] -> [Check for Updates]
Check out the main content covered by this version update, and see if there are any features you are concerned about:

  • Support WebSocket API;

  • Automated testing function upgrade;

  • Add some function shortcut keys on the web side;

  • Support custom settings for version updates and installation reminders.

01 Support WebSocket API

The latest version of Apifox  supports debugging of the WebSocket interface and is currently in the Beta public testing stage .
Click the "+" button on the left, select "New WebSocket Interface (Beta)", enter the URL of the WebSocket interface to complete the handshake and establish a WebSocket connection , and you can seamlessly send and receive messages. Supports customizing the parameters that need to be passed during handshake, such as Params, Headers, and Cookies, to meet authentication or other complex scenarios.

Once connected, messages can be composed under the Message tab. In addition to directly composing messages in text formats such as Text, JSON, XML, HTML, etc., you can also compose binary format messages through Base64 or Hexadecimal .

For more information about WebSoccket functions, welcome to the help documentation.

Knowledge expansion: What is WebSocket? everything you need to know

02 Automatic test function upgrade

1. The "Loop" function in the automated test supports the use of variables to set the number of cycles , and the number of cycles for subsequent steps can be set according to the value returned by the interface to meet the test scenario when the number of cycles is not fixed.

2. References to other test cases are supported in the test steps . Some common test steps (such as login) can be combined into a common test case and directly referenced in other test cases, saving the time of repeatedly creating the same steps, and convenient for common steps Update and maintain.

03 Added shortcut keys for some functions on the web

Shortcut keys for some new functions on the web side, including saving/copying the interface, sending a request, switching to running Tab, importing data, importing captured data (cURL)  and deleting the left directory tree in the interface management , you can also use the web version Use shortcut keys to improve your work efficiency.
Of course, the Apifox desktop also supports rich shortcut key operations. More shortcuts are in the step-by-step support, if you have anything you want, welcome to give us feedback.

04 Support custom version update and installation reminder

On the "Settings - About Apifox" page, you can customize the version update rhythm of Apifox according to your needs:

  • Automatically download updates : Automatically download update packages when a new version is detected;

  • Automatically install update : After exiting the software, the downloaded update package will be automatically installed  (only supported by MacOS)  ;

  • New version message reminder : Receive a new version release reminder as soon as a new version is released.

05 Learn more

Of course, the new features brought to you by the Apifox product team are far more than the above:

  • Interface Management - Added support for copying cURL to the right-click menu of interface use cases

  • Support HTTPS when setting a custom domain name for public documents

  • "Table of Contents" supports editing directory-level Markdown documents

  • Interface management supports importing pre- and post-operations from the interface/interface use case/directory to the current interface/interface use case/directory

  • Third-party integration notification - when the automated test is completed, it supports jumping to the App/Web side to view the test report overview page

  • Interface management - the right-click menu of the directory node under the data model and shortcut request supports the copy function

In addition to new features, we have also optimized product details and user experience. For specific changes, please go to the update log to view . Users are welcome to continue to provide feedback and optimization opinions on Apifox. We will continue to optimize and update, and strive to provide users with better product functions and more extreme user experience!

Guess you like

Origin blog.csdn.net/m0_71808387/article/details/130217683