Skip to content

0.8.0

Compare
Choose a tag to compare
@texpatnyc texpatnyc released this 07 Jan 14:45
· 1756 commits to master since this release
ed852fb

Scripting and Testing

  • The Composer pane now has a section to write JavaScript that will execute upon Swell receiving a server response.
  • Compose your test suite with ChaiJS TDD or BDD assertion-syntax.
  • Make assertions on the response received by using the response object. Properties on the response object include .headers, .status, .events, .timeSent, and .timeReceived.
  • View the test results in the new Tests tab on the Response pane.
  • Available for REST, GraphQL, and gRPC.

Collection Runner

  • Requests can be staged in the center Workspace pane and executed in the order they were added.

Scheduler

  • Now has the ability to automate sending requests on a regular time interval.

Preview

  • You can now see a rendered preview in the Response pane for HTML document payloads.

Bug Fixes and QoL Improvements

  • Fixed UI overflow and misalignment bugs.
  • Updated button styling and placement for better design consistency.
  • Updated the chart to a line chart for better visual indication of the change in response latency over time.

Developer Notes

  • Moved GraphQL logic out of the main file and into its own controller file.
  • Fixed and completed the Spectron tests to cover gRPC (Default port is now 30051 due to Windows-specific conflicts).