Skip to content

Data Plane - Microsoft.AzurePlaywrightService integration into Microsoft.LoadTestService #34012

Merged
mjmadhu merged 55 commits intomainfrom
malt-mpt-integration-dataplane
Jun 26, 2025
Merged

Data Plane - Microsoft.AzurePlaywrightService integration into Microsoft.LoadTestService #34012
mjmadhu merged 55 commits intomainfrom
malt-mpt-integration-dataplane

Conversation

@mjmadhu
Copy link
Copy Markdown
Member

@mjmadhu mjmadhu commented Apr 17, 2025

Data Plane API Specification Update Pull Request

  • Link for Control Plane PR - Control Plane - Microsoft.AzurePlaywrightService integration into Microsoft.LoadTestService #33891
  • We've a business ask to merge Azure Testing Services under one umbrella.
  • Microsoft.LoadTestService is a GA RP so we want to merge another preview RP (called Microsoft.AzurePlaywrightService) into it as a separate resource type called "Playwright Workspaces", reflecting changes in all data-plane api-signatures as well.
  • Later on, RP Microsoft.AzurePlaywrightService would be deprecated as per ARM deprecation guidelines.
  • The First Commit in the PR is taken from existing data-plane files of Microsoft.AzurePlaywrightService for clear visibility in PR review.
  • Also, we want to avoid any unwanted change/impact to the already GA APIs and SDKs of Microsoft.LoadTestService (given involvement of different teams), hence we'd prefer to go in separate folder namespace as far as possible.

Tip

Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

spec_pr_review_workflow_diagram

API Info: The Basics

Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.

  • Link to API Spec engagement record issue:

Is this review for (select one):

  • a private preview
  • a public preview
  • GA release

Change Scope

This section will help us focus on the specific parts of your API that are new or have been modified.
Please share a link to the design document for the new APIs, a link to the previous API Spec document (if applicable), and the root paths that have been updated.

  • Design Document:
  • Previous API Spec Doc:
  • Updated paths:

Viewing API changes

For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.

❔Got questions? Need additional info?? We are here to help!

Contact us!

The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

Click here for links to tools, specs, guidelines & other good stuff

Tooling

Guidelines & Specifications

Helpful Links

Getting help

  • First, please carefully read through this PR description, from top to bottom.
  • If you don't have permissions to remove or add labels to the PR, request write access per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories
  • To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
    and https://aka.ms/ci-fix.
  • If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
    This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
  • If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

@openapi-pipeline-app
Copy link
Copy Markdown

openapi-pipeline-app Bot commented Apr 17, 2025

Next Steps to Merge

✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

@openapi-pipeline-app
Copy link
Copy Markdown

openapi-pipeline-app Bot commented Apr 17, 2025

PR validation pipeline restarted successfully. If there is ApiView generated, it will be updated in this comment.

@microsoft-github-policy-service microsoft-github-policy-service Bot added the Load Test Service Azure Load Test Service label Apr 17, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 17, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Language API Review for Package
TypeSpec Playwright
Java com.azure:azure-developer-loadtesting
Java com.azure:azure-developer-playwright
Python azure-developer-loadtesting
Python azure-developer-playwright
JavaScript @azure-rest/playwright
Swagger loadtesting-loadtesting
Swagger loadtesting-playwright
JavaScript @azure-rest/load-testing

@mjmadhu mjmadhu marked this pull request as ready for review April 17, 2025 05:45
@mjmadhu mjmadhu requested a review from a team as a code owner April 17, 2025 05:45
@mjmadhu mjmadhu requested review from johanste and tg-msft April 17, 2025 05:45
Comment thread specification/loadtestservice/Playwright/models.tsp
Comment thread specification/loadtestservice/Playwright/models.tsp Outdated
Comment thread specification/loadtestservice/Playwright/models.tsp Outdated
Comment thread specification/loadtestservice/Playwright/models.tsp Outdated
Comment thread specification/loadtestservice/Playwright/models.tsp Outdated
Comment thread specification/loadtestservice/Playwright/models.tsp Outdated
@doc("Creates/Updates a test-run for the workspace with given test-run id. Authorization required is Bearer JWT Access token provided by EntraID or Playwright Service.")
createOrUpdate is Operations.ResourceCreateOrUpdate<TestRun>;

@doc("Lists test-runs for the given workspace id. It can use OData query params like $select, $filter, $orderby, $top and $skip. The default page size is 10. Use nextLink in response to fetch more objects in the list. Authorization required is Bearer JWT Access token provided by EntraID or Playwright Service.")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls see what all filters are supported here and provide more details there

Comment thread specification/loadtestservice/Playwright/models.tsp
Comment thread specification/loadtestservice/Playwright/models.tsp Outdated
Comment thread specification/loadtestservice/Playwright/models.tsp Outdated
Comment thread specification/loadtestservice/Playwright/models.tsp Outdated
Comment thread specification/loadtestservice/Playwright/models.tsp Outdated
Comment thread specification/loadtestservice/Playwright/models.tsp Outdated
Comment thread specification/loadtestservice/Playwright/models.tsp Outdated
@qiaozha
Copy link
Copy Markdown
Member

qiaozha commented Jun 17, 2025

/azp run

@azure-pipelines
Copy link
Copy Markdown

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

Comment thread specification/loadtestservice/Playwright/models.tsp
@qiaozha
Copy link
Copy Markdown
Member

qiaozha commented Jun 17, 2025

@JeffreyRichter I think the breaking change in this PR can be approved as they are false alarm for moving files into different folders for loadtesting service.

@mjmadhu I want to confirm with you that this PR is just merging the playwrightservice spec into loadtesting service, it's not adding a new service, right ? If yes, then @JeffreyRichter it's okay to sign off from the API stewardship board. If no, @mjmadhu you need to have a review meeting with them to get the sign off label.

@mjmadhu
Copy link
Copy Markdown
Member Author

mjmadhu commented Jun 23, 2025

@JeffreyRichter I think the breaking change in this PR can be approved as they are false alarm for moving files into different folders for loadtesting service.

@mjmadhu I want to confirm with you that this PR is just merging the playwrightservice spec into loadtesting service, it's not adding a new service, right ? If yes, then @JeffreyRichter it's okay to sign off from the API stewardship board. If no, @mjmadhu you need to have a review meeting with them to get the sign off label.

Hi, it's not a new spec and we've just migrated already approved/existing specs of playwright in loadtestservice RP.

Copy link
Copy Markdown
Member

@abranj19 abranj19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved changes regarding reporting feature removal fields, but someone else should have a look as well for final approval. / @mikekistler

@qiaozha
Copy link
Copy Markdown
Member

qiaozha commented Jun 23, 2025

Copy link
Copy Markdown
Member

@mikekistler mikekistler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. 👍

Comment thread specification/loadtestservice/data-plane/playwright/readme.md
Comment thread specification/loadtestservice/Playwright/routes.tsp
generate-tests: false
generate-samples: false
service-name: Load Testing
service-name: Load Test
Copy link
Copy Markdown
Member

@weidongxu-microsoft weidongxu-microsoft Aug 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mjmadhu
Would you let me know the reason why you change the service-name?

This value affect name of Java SDK class LoadTestingServiceVersion.
https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/loadtesting/azure-developer-loadtesting/src/main/java/com/azure/developer/loadtesting/LoadTestingServiceVersion.java
With this change, this class would be named LoadTestServiceVersion, and a change to public class name is a breaking change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

APIStewardshipBoard-SignedOff The Azure API Stewardship team has reviewed and approved the changes. Approved-Avocado Approved-Suppression BreakingChange-Approved-Benign Changes are not breaking at the REST API level and have at most minor impact to generated SDKs. BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required data-plane Load Test Service Azure Load Test Service new-api-version PipelineBotTrigger PublishToCustomers Acknowledgement the changes will be published to Azure customers. SuppressionReviewRequired TypeSpec Authored with TypeSpec

Projects

None yet

Development

Successfully merging this pull request may close these issues.