建立 Web 服務測試

您可以使用 Web 效能測試以測試 Web 服務。 如需最新的文件,請參閱如何建立 Web 服務測試

注意

Visual Studio 2019 中的 Web 效能和負載測試功能已淘汰。 針對 Application Insights,多步驟 Web 測試取決於 Visual Studio Webtest 檔案。 已宣佈 Visual Studio 2019 將會是具有 Webtest 功能的最終 Visual Studio 版本。 不過,支援已延伸至 Visual Studio 2022。 請務必了解,雖然不會新增任何新功能,但目前仍支援 Visual Studio 2022 中的 Webtest 功能,並將繼續在產品的支援生命週期內受到支援。 (您可以執行現有的 Web/負載測試,但我們已移除建立新測試的範本。)Azure 監視器產品小組已在這裡解決多步驟可用性測試的未來相關問題。 我們建議在 Azure 負載測試 中使用 Apache JMeter 作為替代方案。

需求

  • Visual Studio Enterprise
  • Internet Explorer

注意

Web 效能和負載測試功能僅支援 Internet Explorer,因此在 Windows 11 和某些 Windows 10 版本無法使用。 Web 錄製器功能也已遭淘汰,因為這項功能需要 Internet Explorer。 深入了解 Internet Explorer 生命週期原則