From a85ab3b67d3ae8f7fdc31a1eefd1539271469c5f Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Tue, 4 Mar 2025 22:05:16 +0000 Subject: [PATCH 01/16] Adding commands for scheduling --- src/load/azext_load/__init__.py | 4 + src/load/azext_load/_help.py | 2 + src/load/azext_load/data_plane/help.py | 16 ++ .../data_plane/load_trigger/__init__.py | 6 + .../data_plane/load_trigger/commands.py | 29 +++ .../data_plane/load_trigger/custom.py | 214 ++++++++++++++++ .../data_plane/load_trigger/help.py | 76 ++++++ .../data_plane/load_trigger/params.py | 50 ++++ .../data_plane/load_trigger/utils.py | 234 ++++++++++++++++++ .../azext_load/data_plane/utils/argtypes.py | 94 +++++++ .../azext_load/data_plane/utils/models.py | 4 + .../azext_load/data_plane/utils/validators.py | 35 +++ 12 files changed, 764 insertions(+) create mode 100644 src/load/azext_load/data_plane/load_trigger/__init__.py create mode 100644 src/load/azext_load/data_plane/load_trigger/commands.py create mode 100644 src/load/azext_load/data_plane/load_trigger/custom.py create mode 100644 src/load/azext_load/data_plane/load_trigger/help.py create mode 100644 src/load/azext_load/data_plane/load_trigger/params.py create mode 100644 src/load/azext_load/data_plane/load_trigger/utils.py diff --git a/src/load/azext_load/__init__.py b/src/load/azext_load/__init__.py index 20bae4acc43..5f85307a2db 100644 --- a/src/load/azext_load/__init__.py +++ b/src/load/azext_load/__init__.py @@ -18,6 +18,7 @@ def load_command_table(self, args): from azext_load.commands import load_command_table from azext_load.data_plane.load_test.commands import load_test_commands from azext_load.data_plane.load_test_run.commands import load_test_run_commands + from azext_load.data_plane.load_trigger.commands import load_trigger_schedule_commands from azure.cli.core.aaz import load_aaz_command_table try: from . import aaz @@ -32,6 +33,7 @@ def load_command_table(self, args): load_command_table(self, args) load_test_commands(self, args) load_test_run_commands(self, args) + load_trigger_schedule_commands(self, args) return self.command_table def load_arguments(self, command): @@ -39,11 +41,13 @@ def load_arguments(self, command): from azext_load.data_plane.params import load_arguments as load_common_arguments from azext_load.data_plane.load_test.params import load_arguments as load_test_arguments from azext_load.data_plane.load_test_run.params import load_arguments as load_test_run_arguments + from azext_load.data_plane.load_trigger.params import load_arguments as load_trigger_schedule_arguments load_arguments(self, command) load_common_arguments(self, command) load_test_arguments(self, command) load_test_run_arguments(self, command) + load_trigger_schedule_arguments(self, command) COMMAND_LOADER_CLS = LoadCommandsLoader diff --git a/src/load/azext_load/_help.py b/src/load/azext_load/_help.py index c93efdd050d..790d2939d33 100644 --- a/src/load/azext_load/_help.py +++ b/src/load/azext_load/_help.py @@ -12,7 +12,9 @@ from azext_load.data_plane.help import helps as data_common_helps from azext_load.data_plane.load_test.help import helps as data_load_test_helps from azext_load.data_plane.load_test_run.help import helps as data_load_test_run_helps +from azext_load.data_plane.load_trigger.help import helps as data_load_trigger_helps helps.update(data_common_helps) helps.update(data_load_test_helps) helps.update(data_load_test_run_helps) +helps.update(data_load_trigger_helps) diff --git a/src/load/azext_load/data_plane/help.py b/src/load/azext_load/data_plane/help.py index e5f769d364e..2e6e93e6d72 100644 --- a/src/load/azext_load/data_plane/help.py +++ b/src/load/azext_load/data_plane/help.py @@ -84,3 +84,19 @@ short-summary: Command group to retrieve load test run metrics. long-summary: Command group to retrieve load test run metrics with list, get-namespaces, get-definitions, get-dimension. """ + _common_params + +helps[ + "load trigger" +] = """ +type: group +short-summary: Command group to manage load trigger. +long-summary: Command group to manage load trigger. Currently supported trigger is schedule. +""" + _common_params + +helps[ + "load trigger schedule" +] = """ +type: group +short-summary: Command group to manage load trigger schedule. +long-summary: Command group to manage load trigger schedule with create, update, delete, list, etc. +""" + _common_params diff --git a/src/load/azext_load/data_plane/load_trigger/__init__.py b/src/load/azext_load/data_plane/load_trigger/__init__.py new file mode 100644 index 00000000000..fbc0cb13956 --- /dev/null +++ b/src/load/azext_load/data_plane/load_trigger/__init__.py @@ -0,0 +1,6 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/src/load/azext_load/data_plane/load_trigger/commands.py b/src/load/azext_load/data_plane/load_trigger/commands.py new file mode 100644 index 00000000000..f59e433d22d --- /dev/null +++ b/src/load/azext_load/data_plane/load_trigger/commands.py @@ -0,0 +1,29 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azext_load.data_plane.utils import validators +from azext_load.data_plane.utils.constants import LoadCommandsConstants +from azure.cli.core.commands import CliCommandType + +admin_custom_sdk = CliCommandType( + operations_tmpl="azext_load.data_plane.load_trigger.custom#{}" +) + + +def load_trigger_schedule_commands(self, _): + with self.command_group( + "load trigger", custom_command_type=admin_custom_sdk, is_preview=True + ): + pass + + with self.command_group( + "load trigger schedule", custom_command_type=admin_custom_sdk, is_preview=True + ) as g: + g.custom_command("create", "create_trigger_schedule") + g.custom_command("update", "update_trigger_schedule") + g.custom_command("delete", "delete_trigger_schedule", confirmation=True) + g.custom_show_command("show", "get_trigger_schedule") + g.custom_command("pause", "pause_trigger_schedule") + g.custom_command("enable", "enable_trigger_schedule") \ No newline at end of file diff --git a/src/load/azext_load/data_plane/load_trigger/custom.py b/src/load/azext_load/data_plane/load_trigger/custom.py new file mode 100644 index 00000000000..54efd171fd0 --- /dev/null +++ b/src/load/azext_load/data_plane/load_trigger/custom.py @@ -0,0 +1,214 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azext_load.data_plane.utils.utils import ( + get_admin_data_plane_client, + ) + +from azure.core.exceptions import ResourceNotFoundError +from knack.log import get_logger +from azext_load.vendored_sdks.loadtesting.models import ( _models as models, _enums as enums) +import azext_load.data_plane.load_trigger.utils as utils + +logger = get_logger(__name__) + +def create_trigger_schedule( + cmd, + load_test_resource, + resource_group_name=None, + trigger_id=None, + description=None, + display_name=None, + trigger_start_date_time=None, + recurrence_type=None, + recurrence_interval=None, + recurrence_index=None, + recurrence_cron_expression=None, + recurrence_dates_in_month=None, + recurrence_week_days=None, + end_after_occurrence=None, + end_after_date_time=None, + test_ids=None, +): + client = get_admin_data_plane_client(cmd, load_test_resource, resource_group_name) + logger.info("Creating trigger schedule") + recurrence_end_body = utils.get_recurrence_end_body( + end_after_occurrence, + end_after_date_time, + ) + logger.debug("Recurrence end object: %s", recurrence_end_body) + recurrence_body = utils.get_recurrence_body( + recurrence_type, + recurrence_interval, + recurrence_index, + recurrence_cron_expression, + recurrence_dates_in_month, + recurrence_week_days, + recurrence_end_body, + ) + logger.debug("Recurrence object: %s", recurrence_body) + trigger_body = models.ScheduleTestsTrigger( + test_ids=test_ids, + recurrence=recurrence_body, + start_date_time= trigger_start_date_time, + state=enums.TriggerState.ACTIVE, + display_name=display_name, + description=description, + ) + logger.debug("Trigger schedule body: %s", trigger_body) + try: + response = client.create_or_update_trigger(trigger_id=trigger_id, body=trigger_body) + logger.debug("Created trigger schedule: %s", response) + logger.info("Creating trigger schedule completed") + return response + except Exception as e: + logger.error("Error occurred while creating trigger schedule: %s", str(e)) + + +def update_trigger_schedule( + cmd, + load_test_resource, + trigger_id, + resource_group_name=None, + description=None, + display_name=None, + trigger_start_date_time=None, + recurrence_type=None, + recurrence_interval=None, + recurrence_index=None, + recurrence_cron_expression=None, + recurrence_dates_in_month=None, + recurrence_week_days=None, + end_after_occurrence=None, + end_after_date_time=None, + test_ids=None, +): + client = get_admin_data_plane_client(cmd, load_test_resource, resource_group_name) + logger.info("Updating trigger schedule with name") + existing_trigger_schedule: models.ScheduleTestsTrigger = None + try: + existing_trigger_schedule = client.get_trigger(trigger_id) + except Exception as e: + logger.debug("Error occurred while fetching trigger schedule: %s", str(e)) + logger.error("Trigger schedule with id: %s not found.", trigger_id) + return + logger.debug("Existing trigger schedule: %s", existing_trigger_schedule) + recurrence_end_body = utils.get_recurrence_end_body( + end_after_occurrence, + end_after_date_time, + existing_trigger_schedule.recurrence.recurrence_end if existing_trigger_schedule.recurrence else None + ) + logger.debug("Recurrence end object: %s", recurrence_end_body) + recurrence_body = utils.get_recurrence_body_for_update( + recurrence_type, + recurrence_interval, + recurrence_index, + recurrence_cron_expression, + recurrence_dates_in_month, + recurrence_week_days, + recurrence_end_body, + existing_trigger_schedule.recurrence + ) + logger.debug("Recurrence object: %s", recurrence_body) + new_trigger_body = utils.get_schedule_trigger_body_for_update( + existing_trigger_schedule, + recurrence_body, + display_name, + description, + trigger_start_date_time, + test_ids, + ) + + logger.debug("Trigger schedule body: %s", new_trigger_body) + logger.debug("Trigger schedule body to be sent for update: %s", existing_trigger_schedule) + try: + response = client.create_or_update_trigger(trigger_id=trigger_id, body=new_trigger_body) + logger.debug("Updated trigger schedule: %s", response) + logger.info("Updating trigger schedule completed") + return response + except Exception as e: + logger.error("Error occurred while updating trigger schedule: %s", str(e)) + +def delete_trigger_schedule( + cmd, + load_test_resource, + trigger_id, + resource_group_name=None, +): + logger.info( + "Deleting trigger schedule with name" + ) + client = get_admin_data_plane_client(cmd, load_test_resource, resource_group_name) + client.delete_trigger(trigger_id) + logger.info("Deleting trigger schedule completed.") + + +def get_trigger_schedule( + cmd, + load_test_resource, + trigger_id, + resource_group_name=None, +): + logger.info( + "Getting trigger schedule with name" + ) + client = get_admin_data_plane_client(cmd, load_test_resource, resource_group_name) + response = client.get_trigger(trigger_id) + logger.debug("Fetched trigger schedule: %s", response) + return response + + +def pause_trigger_schedule( + cmd, + load_test_resource, + trigger_id, + resource_group_name=None, +): + logger.info( + "Pausing trigger schedule with name" + ) + client = get_admin_data_plane_client(cmd, load_test_resource, resource_group_name) + result = None + try: + result = client.get_trigger(trigger_id=trigger_id) + except Exception as e: + logger.debug("Error occurred while fetching trigger schedule: %s", str(e)) + logger.error("Trigger schedule with id: %s not found.", trigger_id) + return + logger.debug("Existing trigger object: %s", result) + if result.state == enums.TriggerState.ACTIVE: + result.state = enums.TriggerState.PAUSED + response = client.create_or_update_trigger(trigger_id=trigger_id, body=result) + logger.debug("Paused trigger schedule: %s", response) + return response + else: + logger.error("Trigger schedule is not active. It is in %s state.", result.state.value) + + +def enable_trigger_schedule( + cmd, + load_test_resource, + trigger_id, + resource_group_name=None, +): + logger.info( + "Enabling trigger schedule with name" + ) + client = get_admin_data_plane_client(cmd, load_test_resource, resource_group_name) + result = None + try: + result = client.get_trigger(trigger_id=trigger_id) + except Exception as e: + logger.debug("Error occurred while fetching trigger schedule: %s", str(e)) + logger.error("Trigger schedule with id: %s not found.", trigger_id) + return + logger.debug("Existing trigger object: %s", result) + if result.state == enums.TriggerState.PAUSED: + result.state = enums.TriggerState.ACTIVE + response = client.create_or_update_trigger(trigger_id=trigger_id, body=result) + logger.debug("Enabled trigger schedule: %s", response) + return response + else: + logger.error("Trigger schedule is not paused. It is in %s state.", result.state.value) \ No newline at end of file diff --git a/src/load/azext_load/data_plane/load_trigger/help.py b/src/load/azext_load/data_plane/load_trigger/help.py new file mode 100644 index 00000000000..7e3fe864392 --- /dev/null +++ b/src/load/azext_load/data_plane/load_trigger/help.py @@ -0,0 +1,76 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +# pylint: disable=line-too-long +# pylint: disable=too-many-lines + +helps = {} + +helps[ + "load trigger schedule create" +] = """ +type: command +short-summary: Create a new load trigger schedule. +examples: + - name: Create schedule. + text: | + az load trigger schedule create --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id --description "Sample description" --display-name "Sample display name" --start-date-time 2023-01-01T15:16:17Z --recurrence-type Daily --recurrence-properties '{"interval":1}' --end-after-occurrence 5 --test-ids sample-test-id +""" + +helps[ + "load trigger schedule update" +] = """ +type: command +short-summary: Update a load trigger schedule. +examples: + - name: Update schedule. + text: | + az load trigger schedule update --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id --display-name "Updated display name" + +""" + +helps[ + "load trigger schedule delete" +] = """ +type: command +short-summary: Delete a load trigger schedule. +examples: + - name: Delete schedule. + text: | + az load trigger schedule delete --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id +""" + +helps[ + "load trigger schedule show" +] = """ +type: command +short-summary: Show details of a load trigger schedule. +examples: + - name: Show schedule. + text: | + az load trigger schedule show --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id +""" + +helps[ + "load trigger schedule pause" +] = """ +type: command +short-summary: Pause a load trigger schedule. +examples: + - name: Pause schedule. + text: | + az load trigger schedule pause --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id +""" + +helps[ + "load trigger schedule enable" +] = """ +type: command +short-summary: Enable a load trigger schedule. +examples: + - name: Enable schedule. + text: | + az load trigger schedule enable --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id +""" \ No newline at end of file diff --git a/src/load/azext_load/data_plane/load_trigger/params.py b/src/load/azext_load/data_plane/load_trigger/params.py new file mode 100644 index 00000000000..8cc174ad3d6 --- /dev/null +++ b/src/load/azext_load/data_plane/load_trigger/params.py @@ -0,0 +1,50 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +# pylint: disable=too-many-lines +# pylint: disable=too-many-statements +# pylint: disable=line-too-long + +from azext_load.data_plane.utils import argtypes + + +def load_arguments(self, _): + # Load Trigger Schedule + with self.argument_context("load trigger schedule") as c: + c.argument("load_test_resource", argtypes.load_test_resource) + c.argument("resource_group_name", argtypes.resource_group) + c.argument("trigger_id", argtypes.trigger_id) + + # Load Trigger Schedule Create + with self.argument_context("load trigger schedule create") as c: + c.argument("description", argtypes.trigger_description) + c.argument("display_name", argtypes.trigger_display_name) + c.argument("trigger_start_date_time", argtypes.trigger_start_date_time) + c.argument("recurrence_type", argtypes.recurrence_type) + c.argument("recurrence_interval", argtypes.recurrence_interval) + c.argument("recurrence_index", argtypes.recurrence_index) + c.argument("recurrence_cron_expression", argtypes.recurrence_cron_expression) + c.argument("recurrence_dates_in_month", argtypes.recurrence_dates_in_month) + c.argument("recurrence_week_days", argtypes.recurrence_week_days) + c.argument("end_after_occurrence", argtypes.end_after_occurrence) + c.argument("end_after_date_time", argtypes.end_after_date_time) + c.argument("test_ids", argtypes.test_ids) + + # Load Trigger Schedule Update + with self.argument_context("load trigger schedule update") as c: + c.argument("description", argtypes.trigger_description) + c.argument("display_name", argtypes.trigger_display_name) + c.argument("trigger_start_date_time", argtypes.trigger_start_date_time) + c.argument("recurrence_type", argtypes.recurrence_type) + c.argument("recurrence_interval", argtypes.recurrence_interval) + c.argument("recurrence_index", argtypes.recurrence_index) + c.argument("recurrence_cron_expression", argtypes.recurrence_cron_expression) + c.argument("recurrence_dates_in_month", argtypes.recurrence_dates_in_month) + c.argument("recurrence_week_days", argtypes.recurrence_week_days) + c.argument("end_after_occurrence", argtypes.end_after_occurrence) + c.argument("end_after_date_time", argtypes.end_after_date_time) + c.argument("test_ids", argtypes.test_ids) + + \ No newline at end of file diff --git a/src/load/azext_load/data_plane/load_trigger/utils.py b/src/load/azext_load/data_plane/load_trigger/utils.py new file mode 100644 index 00000000000..b33aac53da6 --- /dev/null +++ b/src/load/azext_load/data_plane/load_trigger/utils.py @@ -0,0 +1,234 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from datetime import datetime +from azext_load.vendored_sdks.loadtesting.models import _models as models +from azext_load.vendored_sdks.loadtesting.models import _enums as enums +from knack.log import get_logger +from azure.cli.core.azclierror import InvalidArgumentValueError, FileOperationError + +logger = get_logger(__name__) + +def parse_datetime_in_utc(value): + try: + parsed_date_time = datetime.strptime(value, "%Y-%m-%dT%H:%M:%SZ") + return parsed_date_time + except ValueError: + raise InvalidArgumentValueError("Invalid datetime format. Please provide datetime in UTC format (YYYY-MM-DDTHH:MM:SSZ).") + +def get_recurrence_end_body(end_after_occurrence, end_after_date_time, existing_recurrence_end=None): + if end_after_occurrence is not None and end_after_date_time is not None: + raise InvalidArgumentValueError("Specify either end_after_occurrence or end_after_date_time, not both.") + + if end_after_occurrence is not None: + return models.RecurrenceEnd(number_of_occurrences=end_after_occurrence) + + if end_after_date_time is not None: + return models.RecurrenceEnd(end_date_time=end_after_date_time) + + return existing_recurrence_end + +def get_recurrence_body( + recurrence_type, + recurrence_interval, + recurrence_index, + recurrence_cron_expression, + recurrence_dates_in_month, + recurrence_week_days, + recurrence_end_body, +): + validate_recurrence_input(recurrence_type, + recurrence_interval, + recurrence_index, + recurrence_cron_expression, + recurrence_dates_in_month, + recurrence_week_days) + + if recurrence_type == enums.Frequency.DAILY: + return models.DailyRecurrence( + interval=recurrence_interval, + recurrence_end=recurrence_end_body + ) + elif recurrence_type == enums.Frequency.WEEKLY: + return models.WeeklyRecurrence( + interval=recurrence_interval, + days_of_week=recurrence_week_days, + recurrence_end=recurrence_end_body + ) + elif recurrence_type == enums.Frequency.HOURLY: + return models.HourlyRecurrence( + interval=recurrence_interval, + recurrence_end=recurrence_end_body + ) + elif recurrence_type == enums.Frequency.MONTHLY_BY_DATES: + return models.MonthlyRecurrenceByDates( + interval=recurrence_interval, + days_of_month=recurrence_dates_in_month, + recurrence_end=recurrence_end_body + ) + elif recurrence_type == enums.Frequency.MONTHLY_BY_DAYS: + return models.MonthlyRecurrenceByDay( + interval=recurrence_interval, + days_of_week=recurrence_week_days, + index=recurrence_index, + recurrence_end=recurrence_end_body + ) + elif recurrence_type == enums.Frequency.CRON: + return models.RecurrenceWithCron( + cron_expression=recurrence_cron_expression, + recurrence_end=recurrence_end_body + ) + else: + return None + + +def validate_recurrence_input( + recurrence_type, + recurrence_interval, + recurrence_index, + recurrence_cron_expression, + recurrence_dates_in_month, + recurrence_week_days, +): + if recurrence_type is None: + if any([recurrence_interval, recurrence_index, recurrence_cron_expression, recurrence_dates_in_month, recurrence_week_days]): + raise InvalidArgumentValueError("Recurrence type is required.") + logger.debug("Recurrence type not provided. Treating it as one-time trigger.") + return + + if recurrence_type == enums.Frequency.DAILY: + if recurrence_interval is None: + raise InvalidArgumentValueError("Recurrence interval is required for daily recurrence.") + + # Ensure other arguments are not provided + if any([recurrence_index, recurrence_cron_expression, recurrence_dates_in_month, recurrence_week_days]): + raise InvalidArgumentValueError("Only recurrence interval should be provided for daily recurrence.") + + if recurrence_type == enums.Frequency.WEEKLY: + if recurrence_interval is None: + raise InvalidArgumentValueError("Recurrence interval is required for weekly recurrence.") + if recurrence_week_days is None or len(recurrence_week_days) == 0: + raise InvalidArgumentValueError("Recurrence week days are required for weekly recurrence.") + # Ensure other arguments are not provided + if any([recurrence_index, recurrence_cron_expression, recurrence_dates_in_month]): + raise InvalidArgumentValueError("Only recurrence interval and week days should be provided for weekly recurrence.") + + if recurrence_type == enums.Frequency.HOURLY: + if recurrence_interval is None: + raise InvalidArgumentValueError("Recurrence interval is required for hourly recurrence.") + # Ensure other arguments are not provided + if any([recurrence_index, recurrence_cron_expression, recurrence_dates_in_month, recurrence_week_days]): + raise InvalidArgumentValueError("Only recurrence interval should be provided for hourly recurrence.") + + if recurrence_type == enums.Frequency.MONTHLY_BY_DATES: + if recurrence_interval is None: + raise InvalidArgumentValueError("Recurrence interval is required for monthly by dates recurrence.") + if recurrence_dates_in_month is None or len(recurrence_dates_in_month) == 0: + raise InvalidArgumentValueError("Recurrence dates in month are required for monthly by dates recurrence.") + # Ensure other arguments are not provided + if any([recurrence_index, recurrence_cron_expression, recurrence_week_days]): + raise InvalidArgumentValueError("Only recurrence interval and dates in month should be provided for monthly by dates recurrence.") + + if recurrence_type == enums.Frequency.MONTHLY_BY_DAYS: + if recurrence_interval is None: + raise InvalidArgumentValueError("Recurrence interval is required for monthly by days recurrence.") + if recurrence_week_days is None or len(recurrence_week_days) == 0: + raise InvalidArgumentValueError("Recurrence week days are required for monthly by days recurrence.") + if recurrence_index not in range(1, 6): + raise InvalidArgumentValueError("Recurrence index should be between 1 and 5 for monthly by days recurrence.") + # Ensure other arguments are not provided + if any([recurrence_cron_expression, recurrence_dates_in_month]): + raise InvalidArgumentValueError("Only recurrence interval, week days, and index should be provided for monthly by days recurrence.") + + if recurrence_type == enums.Frequency.CRON: + if recurrence_cron_expression is None: + raise InvalidArgumentValueError("Recurrence cron expression is required for cron recurrence.") + + # Ensure other arguments are not provided + if any([recurrence_interval, recurrence_index, recurrence_dates_in_month, recurrence_week_days]): + raise InvalidArgumentValueError("Only recurrence cron expression should be provided for cron recurrence.") + +def get_schedule_trigger_body_for_update( + existing_trigger_schedule, + recurrence_body, + display_name, + description, + trigger_start_date_time, + test_ids, +): + new_trigger_body = models.ScheduleTestsTrigger( + test_ids=test_ids, + recurrence=recurrence_body, + start_date_time=trigger_start_date_time, + display_name=display_name, + description=description, + ) + + if test_ids is None: + new_trigger_body.test_ids = existing_trigger_schedule.test_ids + + if trigger_start_date_time is None: + new_trigger_body.start_date_time = existing_trigger_schedule.start_date_time + + if display_name is None: + new_trigger_body.display_name = existing_trigger_schedule.display_name + + if description is None: + new_trigger_body.description = existing_trigger_schedule.description + + if recurrence_body is None: + new_trigger_body.recurrence = existing_trigger_schedule.recurrence + + return new_trigger_body + + +def get_recurrence_body_for_update( + recurrence_type, + recurrence_interval, + recurrence_index, + recurrence_cron_expression, + recurrence_dates_in_month, + recurrence_week_days, + recurrence_end_body, + existing_recurrence, +): + # No recurrence type provided means update in existing recurrence + # Prioritize new values, but fallback to existing values if new values are not provided + if recurrence_type is None: + if existing_recurrence is None: + if any([recurrence_interval, recurrence_index, recurrence_cron_expression, recurrence_dates_in_month, recurrence_week_days]): + raise InvalidArgumentValueError("Updating recurrence properties of a non recurring schedule requires recurrence type.") + logger.debug("Recurrence type not provided. Treating it as one-time trigger.") + return None + recurrence_type = existing_recurrence.frequency + if recurrence_type == enums.Frequency.CRON: + recurrence_cron_expression = recurrence_cron_expression or existing_recurrence.cron_expression + elif recurrence_type == enums.Frequency.DAILY: + recurrence_interval = recurrence_interval or existing_recurrence.interval + elif recurrence_type == enums.Frequency.WEEKLY: + recurrence_interval = recurrence_interval or existing_recurrence.interval + recurrence_week_days = recurrence_week_days or existing_recurrence.days_of_week + elif recurrence_type == enums.Frequency.HOURLY: + recurrence_interval = recurrence_interval or existing_recurrence.interval + elif recurrence_type == enums.Frequency.MONTHLY_BY_DATES: + recurrence_interval = recurrence_interval or existing_recurrence.interval + recurrence_dates_in_month = recurrence_dates_in_month or existing_recurrence.days_of_month + elif recurrence_type == enums.Frequency.MONTHLY_BY_DAYS: + recurrence_interval = recurrence_interval or existing_recurrence.interval + recurrence_week_days = recurrence_week_days or existing_recurrence.days_of_week + recurrence_index = recurrence_index or existing_recurrence.index + + # if recurrence type is provided, override existing recurrence body with new values + return get_recurrence_body( + recurrence_type, + recurrence_interval, + recurrence_index, + recurrence_cron_expression, + recurrence_dates_in_month, + recurrence_week_days, + recurrence_end_body + ) + + \ No newline at end of file diff --git a/src/load/azext_load/data_plane/utils/argtypes.py b/src/load/azext_load/data_plane/utils/argtypes.py index 1d08a7afe26..b9eccaeb2bb 100644 --- a/src/load/azext_load/data_plane/utils/argtypes.py +++ b/src/load/azext_load/data_plane/utils/argtypes.py @@ -13,6 +13,9 @@ resource_group_name_type, ) from knack.arguments import CLIArgumentType +from azext_load.vendored_sdks.loadtesting.models._enums import WeekDays, Frequency +from datetime import datetime +from azext_load.data_plane.load_trigger import utils as trigger_utils quote_text = f"Use {quotes} to clear existing {{}}." @@ -415,3 +418,94 @@ choices=utils.get_enum_values(models.AllowedTrendsResponseTimeAggregations), help="Specify the aggregation method for response time.", ) + +trigger_id = CLIArgumentType( + validator=validators.validate_trigger_id, + options_list=["--trigger-id"], + type=str, + help="Trigger ID of the load trigger", +) + +trigger_start_date_time = CLIArgumentType( + options_list=["--start-date-time"], + type=trigger_utils.parse_datetime_in_utc, + help="Start date time of the load trigger schedule", +) + +recurrence_type = CLIArgumentType( + options_list=["--recurrence-type"], + type=str, + choices=utils.get_enum_values(Frequency), + help="Recurrence type of the load trigger schedule", +) + +end_after_occurrence = CLIArgumentType( + options_list=["--end-after-occurrence"], + type=int, + help="End after occurrence of the load trigger schedule", +) + +end_after_date_time = CLIArgumentType( + options_list=["--end-after-date-time"], + type=trigger_utils.parse_datetime_in_utc, + help="End after date time of the load trigger schedule", +) + +test_ids = CLIArgumentType( + options_list=["--test-ids"], + nargs=1, + validator=validators.validate_schedule_test_ids, + help="Test IDs of the load tests to be triggered by schedule. Currently we only support one test ID per schedule.", +) + +state = CLIArgumentType( + options_list=["--state"], + choices=utils.get_enum_values(models.AllowedTriggerStates), + type=str, + help="State of the load trigger schedule", +) + +trigger_display_name = CLIArgumentType( + options_list=["--display-name"], + type=str, + help="Display name of the load trigger schedule", +) + +trigger_description = CLIArgumentType( + options_list=["--description"], + type=str, + help="Description of the load trigger schedule", +) + +recurrence_cron_expression = CLIArgumentType( + options_list=["--recurrence-cron-exp"], + type=str, + help="Cron expression for the recurrence type 'Cron'.", +) + +recurrence_interval = CLIArgumentType( + options_list=["--recurrence-interval"], + type=int, + help="Interval for all recurrence type except 'Cron'.", +) + +recurrence_dates_in_month = CLIArgumentType( + options_list=["--recurrence-dates-in-month"], + type=list, + validator=validators.validate_recurrence_dates_in_month, + help="Space separated list of dates in month for the recurrence type 'Monthly'.", +) + +recurrence_week_days = CLIArgumentType( + options_list=["--recurrence-week-days"], + choices=utils.get_enum_values(WeekDays), + type=str, + help="Week days for the recurrence type 'Weekly' and 'MonthlyByDays'.", +) + +recurrence_index = CLIArgumentType( + options_list=["--recurrence-index"], + type=int, + choices=[1, 2, 3, 4, 5], + help="Index for the recurrence type 'MonthlyByDays'.", +) \ No newline at end of file diff --git a/src/load/azext_load/data_plane/utils/models.py b/src/load/azext_load/data_plane/utils/models.py index 60082d2e655..c2165ee536b 100644 --- a/src/load/azext_load/data_plane/utils/models.py +++ b/src/load/azext_load/data_plane/utils/models.py @@ -64,3 +64,7 @@ class AllowedTrendsResponseTimeAggregations(str, Enum): P99 = "P99" P999 = "P999" P9999 = "P9999" + +class AllowedTriggerStates(str, Enum): + ACTIVE = "ACTIVE" + PAUSED = "PAUSED" \ No newline at end of file diff --git a/src/load/azext_load/data_plane/utils/validators.py b/src/load/azext_load/data_plane/utils/validators.py index c0055dc2d27..34ecb56b604 100644 --- a/src/load/azext_load/data_plane/utils/validators.py +++ b/src/load/azext_load/data_plane/utils/validators.py @@ -548,3 +548,38 @@ def validate_engine_ref_ids_and_type(incoming_engine_ref_id_type, engine_ref_ids raise InvalidArgumentValueError( "Atleast one engine-ref-ids should be provided when engine-ref-id-type is UserAssigned" ) + +def validate_trigger_id(namespace): + """Validates trigger-id""" + if not isinstance(namespace.trigger_id, str): + raise InvalidArgumentValueError( + f"Invalid trigger-id type: {type(namespace.trigger_id)}" + ) + if not re.match("^[a-z0-9_-]*$", namespace.trigger_id): + raise InvalidArgumentValueError("Invalid trigger-id value") + +def validate_recurrence_dates_in_month(namespace): + if namespace.recurrence_dates_in_month is None: + return + if not isinstance(namespace.recurrence_dates_in_month, list): + raise InvalidArgumentValueError( + f"Invalid recurrence-dates-in-month type: {type(namespace.recurrence_dates_in_month)}. \ + Expected list of integers" + ) + for item in namespace.recurrence_dates_in_month: + if not isinstance(item, int) or item < 1 or item > 31: + raise InvalidArgumentValueError( + f"Invalid recurrence-dates-in-month item: {item}. Expected integer between 1 and 31" + ) + +def validate_schedule_test_ids(namespace): + if namespace.test_ids is None: + return + if isinstance(namespace.test_ids, list) and len(namespace.test_ids) != 1: + raise InvalidArgumentValueError( + f"Invalid test-ids type: {type(namespace.test_ids)}. \ + Expected list of test ids" + ) + if not re.match("^[a-z0-9_-]*$", namespace.test_ids[0]): + raise InvalidArgumentValueError("Invalid test-id value") + From b9c2f746a2a8f8c768bb317cd8684868e61dbc3a Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Wed, 5 Mar 2025 21:10:38 +0000 Subject: [PATCH 02/16] added list schedule command --- .../data_plane/load_trigger/commands.py | 3 ++- .../data_plane/load_trigger/custom.py | 21 ++++++++++++++++++- .../data_plane/load_trigger/help.py | 11 ++++++++++ .../data_plane/load_trigger/params.py | 5 +++++ .../azext_load/data_plane/utils/argtypes.py | 15 ++++++++++++- 5 files changed, 52 insertions(+), 3 deletions(-) diff --git a/src/load/azext_load/data_plane/load_trigger/commands.py b/src/load/azext_load/data_plane/load_trigger/commands.py index f59e433d22d..31f80daf4d9 100644 --- a/src/load/azext_load/data_plane/load_trigger/commands.py +++ b/src/load/azext_load/data_plane/load_trigger/commands.py @@ -26,4 +26,5 @@ def load_trigger_schedule_commands(self, _): g.custom_command("delete", "delete_trigger_schedule", confirmation=True) g.custom_show_command("show", "get_trigger_schedule") g.custom_command("pause", "pause_trigger_schedule") - g.custom_command("enable", "enable_trigger_schedule") \ No newline at end of file + g.custom_command("enable", "enable_trigger_schedule") + g.custom_command("list", "list_trigger_schedules") \ No newline at end of file diff --git a/src/load/azext_load/data_plane/load_trigger/custom.py b/src/load/azext_load/data_plane/load_trigger/custom.py index 54efd171fd0..fde74ce49ac 100644 --- a/src/load/azext_load/data_plane/load_trigger/custom.py +++ b/src/load/azext_load/data_plane/load_trigger/custom.py @@ -211,4 +211,23 @@ def enable_trigger_schedule( logger.debug("Enabled trigger schedule: %s", response) return response else: - logger.error("Trigger schedule is not paused. It is in %s state.", result.state.value) \ No newline at end of file + logger.error("Trigger schedule is not paused. It is in %s state.", result.state.value) + + +def list_trigger_schedules( + cmd, + load_test_resource, + resource_group_name=None, + trigger_states=None, + test_ids=None, +): + logger.info("Listing trigger schedules") + client = get_admin_data_plane_client(cmd, load_test_resource, resource_group_name) + if trigger_states: + trigger_states = ",".join(trigger_states) + if test_ids: + test_ids = ",".join(test_ids) + logger.info("Trigger states: %s", trigger_states) + response = client.list_trigger(test_ids=test_ids, states=trigger_states) + logger.debug("Fetched list of trigger schedules: %s", response) + return response \ No newline at end of file diff --git a/src/load/azext_load/data_plane/load_trigger/help.py b/src/load/azext_load/data_plane/load_trigger/help.py index 7e3fe864392..52bb248a669 100644 --- a/src/load/azext_load/data_plane/load_trigger/help.py +++ b/src/load/azext_load/data_plane/load_trigger/help.py @@ -73,4 +73,15 @@ - name: Enable schedule. text: | az load trigger schedule enable --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id +""" + +helps[ + "load trigger schedule list" +] = """ +type: command +short-summary: List all load trigger schedules. +examples: + - name: List schedule. + text: | + az load trigger schedule list --load-test-resource sample-alt-resource --resource-group sample-rg --test-ids sample-test-id1 sample-test-id2 --states Active """ \ No newline at end of file diff --git a/src/load/azext_load/data_plane/load_trigger/params.py b/src/load/azext_load/data_plane/load_trigger/params.py index 8cc174ad3d6..a85606f4e3c 100644 --- a/src/load/azext_load/data_plane/load_trigger/params.py +++ b/src/load/azext_load/data_plane/load_trigger/params.py @@ -46,5 +46,10 @@ def load_arguments(self, _): c.argument("end_after_occurrence", argtypes.end_after_occurrence) c.argument("end_after_date_time", argtypes.end_after_date_time) c.argument("test_ids", argtypes.test_ids) + + # Load Trigger Schedule List + with self.argument_context("load trigger schedule list") as c: + c.argument("test_ids", argtypes.list_schedule_test_ids) + c.argument("trigger_states", argtypes.list_schedule_states) \ No newline at end of file diff --git a/src/load/azext_load/data_plane/utils/argtypes.py b/src/load/azext_load/data_plane/utils/argtypes.py index b9eccaeb2bb..67ebe84f85c 100644 --- a/src/load/azext_load/data_plane/utils/argtypes.py +++ b/src/load/azext_load/data_plane/utils/argtypes.py @@ -13,7 +13,7 @@ resource_group_name_type, ) from knack.arguments import CLIArgumentType -from azext_load.vendored_sdks.loadtesting.models._enums import WeekDays, Frequency +from azext_load.vendored_sdks.loadtesting.models._enums import WeekDays, Frequency, TriggerState from datetime import datetime from azext_load.data_plane.load_trigger import utils as trigger_utils @@ -508,4 +508,17 @@ type=int, choices=[1, 2, 3, 4, 5], help="Index for the recurrence type 'MonthlyByDays'.", +) + +list_schedule_test_ids = CLIArgumentType( + options_list=["--test-ids"], + nargs="*", + help="List all the schedules which are associated with the provided test ids.", +) + +list_schedule_states = CLIArgumentType( + options_list=["--states"], + nargs="*", + choices=utils.get_enum_values(TriggerState), + help="List all the schedules in the resource which are in the provided states.", ) \ No newline at end of file From 8faf73383d0aabe8b6a0ac230caf5b854ee5414a Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Thu, 6 Mar 2025 11:09:15 +0000 Subject: [PATCH 03/16] initial tests for scheduling --- .../azext_load/data_plane/utils/argtypes.py | 2 +- .../latest/test_load_trigger_schedule.py | 323 ++++++++++++++++++ 2 files changed, 324 insertions(+), 1 deletion(-) create mode 100644 src/load/azext_load/tests/latest/test_load_trigger_schedule.py diff --git a/src/load/azext_load/data_plane/utils/argtypes.py b/src/load/azext_load/data_plane/utils/argtypes.py index 67ebe84f85c..34fa2bcb5e4 100644 --- a/src/load/azext_load/data_plane/utils/argtypes.py +++ b/src/load/azext_load/data_plane/utils/argtypes.py @@ -499,7 +499,7 @@ recurrence_week_days = CLIArgumentType( options_list=["--recurrence-week-days"], choices=utils.get_enum_values(WeekDays), - type=str, + nargs="*", help="Week days for the recurrence type 'Weekly' and 'MonthlyByDays'.", ) diff --git a/src/load/azext_load/tests/latest/test_load_trigger_schedule.py b/src/load/azext_load/tests/latest/test_load_trigger_schedule.py new file mode 100644 index 00000000000..107f653a711 --- /dev/null +++ b/src/load/azext_load/tests/latest/test_load_trigger_schedule.py @@ -0,0 +1,323 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azext_load.tests.latest.constants import LoadTestConstants +from azext_load.tests.latest.preparers import LoadTestResourcePreparer +from azure.cli.testsdk import ( + JMESPathCheck, + ResourceGroupPreparer, + ScenarioTest, +) +from knack.log import get_logger + +logger = get_logger(__name__) + +rg_params = { + "name_prefix": "clitest-schedule-", + "location": "eastus", + "key": "resource_group", + "parameter_name": "rg", + "random_name_length": 30, +} +load_params = { + "name_prefix": "clitest-schedule-", + "location": "eastus", + "key": "load_test_resource", + "parameter_name": "load", + "resource_group_key": "resource_group", + "random_name_length": 30, +} + +class LoadTestScenarioTriggerSchedule(ScenarioTest): + def __init__(self, *args, **kwargs): + super(LoadTestScenarioTriggerSchedule, self).__init__(*args, **kwargs) + self.kwargs.update({"subscription_id": self.get_subscription_id()}) + + @ResourceGroupPreparer(**rg_params) + @LoadTestResourcePreparer(**load_params) + def test_create_trigger_schedule(self, rg, load): + self.kwargs.update({ + "trigger_id": "test-trigger-id", + "description": "Test trigger schedule", + "display_name": "Test Trigger", + "start_date_time": "2025-03-31T23:59:59Z", + "recurrence_type": "Daily", + "recurrence_interval": 1, + "test_ids": "test-id-1" + }) + + checks = [ + JMESPathCheck("description", self.kwargs["description"]), + JMESPathCheck("displayName", self.kwargs["display_name"]), + JMESPathCheck("startDateTime", self.kwargs["start_date_time"]), + JMESPathCheck("recurrence.frequency", self.kwargs["recurrence_type"]), + JMESPathCheck("recurrence.interval", self.kwargs["recurrence_interval"]), + JMESPathCheck("testIds[0]", self.kwargs["test_ids"]), + ] + + self.cmd( + 'az load trigger schedule create ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + '--trigger-id {trigger_id} ' + '--description "{description}" ' + '--display-name "{display_name}" ' + '--start-date-time {start_date_time} ' + '--recurrence-type {recurrence_type} ' + '--recurrence-interval {recurrence_interval} ' + '--test-ids {test_ids}', + checks=checks, + ) + + @ResourceGroupPreparer(**rg_params) + @LoadTestResourcePreparer(**load_params) + def test_update_trigger_schedule(self, rg, load): + self.kwargs.update({ + "trigger_id": "test-trigger-id", + "description": "Updated test trigger schedule", + "display_name": "Updated Test Trigger", + "start_date_time": "2025-04-01T00:00:00Z", + "recurrence_type": "Daily", + "recurrence_interval": 2, + "recurrence_week_days": "Monday", + "test_ids": "test-id-1" + }) + + # Create initial trigger schedule + self.cmd( + 'az load trigger schedule create ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + '--trigger-id {trigger_id} ' + '--description "Initial description" ' + '--display-name "Initial Display Name" ' + '--start-date-time "2025-03-31T23:59:59Z" ' + '--recurrence-type {recurrence_type} ' + '--recurrence-interval 1 ' + '--test-ids {test_ids}' + ) + + self.kwargs.update({ + "recurrence_type": "Weekly", + "recurrence_week_days": "Monday", + }) + + checks = [ + JMESPathCheck("description", self.kwargs["description"]), + JMESPathCheck("displayName", self.kwargs["display_name"]), + JMESPathCheck("startDateTime", self.kwargs["start_date_time"]), + JMESPathCheck("recurrence.frequency", self.kwargs["recurrence_type"]), + JMESPathCheck("recurrence.interval", self.kwargs["recurrence_interval"]), + JMESPathCheck("recurrence.daysOfWeek[0]", self.kwargs["recurrence_week_days"]), + JMESPathCheck("testIds[0]", self.kwargs["test_ids"]), + ] + + self.cmd( + 'az load trigger schedule update ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + '--trigger-id {trigger_id} ' + '--description "{description}" ' + '--display-name "{display_name}" ' + '--start-date-time {start_date_time} ' + '--recurrence-type {recurrence_type} ' + '--recurrence-interval {recurrence_interval} ' + '--recurrence-week-days {recurrence_week_days} ' + '--test-ids {test_ids}', + checks=checks, + ) + + @ResourceGroupPreparer(**rg_params) + @LoadTestResourcePreparer(**load_params) + def test_list_trigger_schedules(self, rg, load): + self.kwargs.update({ + "trigger_id": "test-trigger-id", + "description": "Test trigger schedule", + "display_name": "Test Trigger", + "start_date_time": "2025-03-31T23:59:59Z", + "recurrence_type": "Daily", + "recurrence_interval": 1, + "test_ids": "test-id-1" + }) + + # Create a trigger schedule + self.cmd( + 'az load trigger schedule create ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + '--trigger-id {trigger_id} ' + '--description "{description}" ' + '--display-name "{display_name}" ' + '--start-date-time {start_date_time} ' + '--recurrence-type {recurrence_type} ' + '--recurrence-interval {recurrence_interval} ' + '--test-ids {test_ids}' + ) + + checks = [ + JMESPathCheck("length(@)", 1), + JMESPathCheck("[0].description", self.kwargs["description"]), + JMESPathCheck("[0].displayName", self.kwargs["display_name"]), + JMESPathCheck("[0].startDateTime", self.kwargs["start_date_time"]), + JMESPathCheck("[0].recurrence.frequency", self.kwargs["recurrence_type"]), + JMESPathCheck("[0].recurrence.interval", self.kwargs["recurrence_interval"]), + JMESPathCheck("[0].testIds[0]", self.kwargs["test_ids"]), + ] + + self.cmd( + 'az load trigger schedule list ' + '--name {load_test_resource} ' + '--resource-group {resource_group}', + checks=checks, + ) + + @ResourceGroupPreparer(**rg_params) + @LoadTestResourcePreparer(**load_params) + def test_delete_trigger_schedule(self, rg, load): + self.kwargs.update({ + "trigger_id": "test-trigger-id", + "description": "Test trigger schedule", + "display_name": "Test Trigger", + "start_date_time": "2025-03-31T23:59:59Z", + "recurrence_type": "Daily", + "recurrence_interval": 1, + "test_ids": "test-id-1" + }) + + # Create a trigger schedule + self.cmd( + 'az load trigger schedule create ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + '--trigger-id {trigger_id} ' + '--description "{description}" ' + '--display-name "{display_name}" ' + '--start-date-time {start_date_time} ' + '--recurrence-type {recurrence_type} ' + '--recurrence-interval {recurrence_interval} ' + '--test-ids {test_ids}' + ) + + # Delete the trigger schedule + self.cmd( + 'az load trigger schedule delete ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + '--trigger-id {trigger_id} ' + '--yes' + ) + + checks = [ + JMESPathCheck("length(@)", 0) + ] + + self.cmd( + 'az load trigger schedule list ' + '--name {load_test_resource} ' + '--resource-group {resource_group}', + checks=checks, + ) + + @ResourceGroupPreparer(**rg_params) + @LoadTestResourcePreparer(**load_params) + def test_pause_trigger_schedule(self, rg, load): + self.kwargs.update({ + "trigger_id": "test-trigger-id", + "description": "Test trigger schedule", + "display_name": "Test Trigger", + "start_date_time": "2025-03-31T23:59:59Z", + "recurrence_type": "Daily", + "recurrence_interval": 1, + "test_ids": "test-id-1" + }) + + # Create a trigger schedule + self.cmd( + 'az load trigger schedule create ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + '--trigger-id {trigger_id} ' + '--description "{description}" ' + '--display-name "{display_name}" ' + '--start-date-time {start_date_time} ' + '--recurrence-type {recurrence_type} ' + '--recurrence-interval {recurrence_interval} ' + '--test-ids {test_ids}' + ) + + # Pause the trigger schedule + self.cmd( + 'az load trigger schedule pause ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + '--trigger-id {trigger_id}' + ) + + checks = [ + JMESPathCheck("state", "Paused") + ] + + self.cmd( + 'az load trigger schedule show ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + '--trigger-id {trigger_id}', + checks=checks, + ) + + @ResourceGroupPreparer(**rg_params) + @LoadTestResourcePreparer(**load_params) + def test_enable_trigger_schedule(self, rg, load): + self.kwargs.update({ + "trigger_id": "test-trigger-id", + "description": "Test trigger schedule", + "display_name": "Test Trigger", + "start_date_time": "2025-03-31T23:59:59Z", + "recurrence_type": "Daily", + "recurrence_interval": 1, + "test_ids": "test-id-1" + }) + + # Create a trigger schedule + self.cmd( + 'az load trigger schedule create ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + '--trigger-id {trigger_id} ' + '--description "{description}" ' + '--display-name "{display_name}" ' + '--start-date-time {start_date_time} ' + '--recurrence-type {recurrence_type} ' + '--recurrence-interval {recurrence_interval} ' + '--test-ids {test_ids}' + ) + + # Pause the trigger schedule + self.cmd( + 'az load trigger schedule pause ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + '--trigger-id {trigger_id}' + ) + + # Enable the trigger schedule + self.cmd( + 'az load trigger schedule enable ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + '--trigger-id {trigger_id}' + ) + + checks = [ + JMESPathCheck("state", "Active") + ] + + self.cmd( + 'az load trigger schedule show ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + '--trigger-id {trigger_id}', + checks=checks, + ) \ No newline at end of file From 191eb010b7cfb36edeec5df8436309f07591bfd6 Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Fri, 7 Mar 2025 09:50:08 +0000 Subject: [PATCH 04/16] Updated tests --- .../data_plane/load_trigger/utils.py | 6 +- .../azext_load/data_plane/utils/argtypes.py | 3 +- ...t_create_and_verify_trigger_schedules.yaml | 941 ++++++++++++++++++ .../test_delete_trigger_schedule.yaml | 270 +++++ .../test_enable_trigger_schedule.yaml | 465 +++++++++ .../test_list_trigger_schedules.yaml | 187 ++++ .../test_pause_trigger_schedule.yaml | 326 ++++++ .../test_update_trigger_schedule.yaml | 238 +++++ .../latest/test_load_trigger_schedule.py | 349 ++++--- 9 files changed, 2653 insertions(+), 132 deletions(-) create mode 100644 src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml create mode 100644 src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml create mode 100644 src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml create mode 100644 src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml create mode 100644 src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml create mode 100644 src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml diff --git a/src/load/azext_load/data_plane/load_trigger/utils.py b/src/load/azext_load/data_plane/load_trigger/utils.py index b33aac53da6..1ad9ef36d6d 100644 --- a/src/load/azext_load/data_plane/load_trigger/utils.py +++ b/src/load/azext_load/data_plane/load_trigger/utils.py @@ -65,13 +65,13 @@ def get_recurrence_body( elif recurrence_type == enums.Frequency.MONTHLY_BY_DATES: return models.MonthlyRecurrenceByDates( interval=recurrence_interval, - days_of_month=recurrence_dates_in_month, + dates_in_month=recurrence_dates_in_month, recurrence_end=recurrence_end_body ) elif recurrence_type == enums.Frequency.MONTHLY_BY_DAYS: - return models.MonthlyRecurrenceByDay( + return models.MonthlyRecurrenceByWeekDays( interval=recurrence_interval, - days_of_week=recurrence_week_days, + week_days_in_month=recurrence_week_days, index=recurrence_index, recurrence_end=recurrence_end_body ) diff --git a/src/load/azext_load/data_plane/utils/argtypes.py b/src/load/azext_load/data_plane/utils/argtypes.py index 34fa2bcb5e4..b8f93c81acb 100644 --- a/src/load/azext_load/data_plane/utils/argtypes.py +++ b/src/load/azext_load/data_plane/utils/argtypes.py @@ -491,7 +491,8 @@ recurrence_dates_in_month = CLIArgumentType( options_list=["--recurrence-dates-in-month"], - type=list, + nargs="+", + type=int, validator=validators.validate_recurrence_dates_in_month, help="Space separated list of dates in month for the recurrence type 'Monthly'.", ) diff --git a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml new file mode 100644 index 00000000000..8562e2e1ae3 --- /dev/null +++ b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml @@ -0,0 +1,941 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:29 GMT + etag: + - '"4804075a-0000-0200-0000-67cac0670000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: CF2C0C5F1F5F4B7FBAD34C4327A2E4B5 Ref B: MAA201060514017 Ref C: 2025-03-07T09:46:29Z' + status: + code: 200 + message: OK +- request: + body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-daily"], "recurrence": + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-31T23:59:59Z", + "state": "Active", "displayName": "Test Trigger Daily", "description": "Test + trigger schedule daily"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '258' + Content-Type: + - application/merge-patch+json + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: PATCH + uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger Daily","triggerId":"test-trigger-id-daily","description":"Test trigger + schedule daily","state":"Active","createdDateTime":"2025-03-07T09:46:31.27Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:31.27Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '517' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:31 GMT + location: + - https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + mise-correlation-id: + - d585333b-e86e-4102-baae-01a024498c11 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094630Z-167c755789d68wvvhC1SG10mdg00000007rg000000009181 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:32 GMT + etag: + - '"4804075a-0000-0200-0000-67cac0670000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 0FAD7BC7826149008E88F726ECC6F0BC Ref B: MAA201060514031 Ref C: 2025-03-07T09:46:31Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger Daily","triggerId":"test-trigger-id-daily","description":"Test trigger + schedule daily","state":"Active","createdDateTime":"2025-03-07T09:46:31.27Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:31.27Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '517' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:33 GMT + mise-correlation-id: + - 786725d1-cb43-42ec-97e0-1a36a7e4697c + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094633Z-167c755789dt5nrlhC1SG184ss0000000210000000002eub + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:34 GMT + etag: + - '"4804075a-0000-0200-0000-67cac0670000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 10BB6E2167BC405087D727E938F1F00F Ref B: MAA201060514017 Ref C: 2025-03-07T09:46:33Z' + status: + code: 200 + message: OK +- request: + body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-weekly"], "recurrence": + {"frequency": "Weekly", "interval": 1, "daysOfWeek": ["Monday", "Tuesday"]}, + "startDateTime": "2025-03-31T23:59:59Z", "state": "Active", "displayName": "Test + Trigger Weekly", "description": "Test trigger schedule weekly"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '299' + Content-Type: + - application/merge-patch+json + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: PATCH + uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday","Tuesday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger Weekly","triggerId":"test-trigger-id-weekly","description":"Test trigger + schedule weekly","state":"Active","createdDateTime":"2025-03-07T09:46:35.694Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:35.694Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '558' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:35 GMT + location: + - https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + mise-correlation-id: + - 1bc2e62a-e0c3-44d5-bf89-ef8e8f33a2eb + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094634Z-167c755789dbhjzdhC1SG1t7h80000000v4g000000004d4p + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:36 GMT + etag: + - '"4804075a-0000-0200-0000-67cac0670000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 1550C5943FAA4DAD872C9B7275997A0C Ref B: MAA201060515049 Ref C: 2025-03-07T09:46:36Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday","Tuesday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger Weekly","triggerId":"test-trigger-id-weekly","description":"Test trigger + schedule weekly","state":"Active","createdDateTime":"2025-03-07T09:46:35.694Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:35.694Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '558' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:37 GMT + mise-correlation-id: + - fb8673c8-ddd6-4355-a562-5f6146ea4c84 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094636Z-167c755789dt5nrlhC1SG184ss00000001v000000000t7av + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:38 GMT + etag: + - '"4804075a-0000-0200-0000-67cac0670000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 7017002852034315A2AF79E159558D28 Ref B: MAA201060516009 Ref C: 2025-03-07T09:46:37Z' + status: + code: 200 + message: OK +- request: + body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-dates"], + "recurrence": {"frequency": "MonthlyByDates", "interval": 1, "datesInMonth": + [1, 15]}, "startDateTime": "2025-03-31T23:59:59Z", "state": "Active", "displayName": + "Test Trigger Monthly By Dates", "description": "Test trigger schedule monthly + by dates"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '322' + Content-Type: + - application/merge-patch+json + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: PATCH + uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-01T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger Monthly By Dates","triggerId":"test-trigger-id-monthly-dates","description":"Test + trigger schedule monthly by dates","state":"Active","createdDateTime":"2025-03-07T09:46:39.339Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:39.339Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '588' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:39 GMT + location: + - https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + mise-correlation-id: + - 5af61589-2ba1-4405-bd9c-759f07075e3a + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094638Z-167c755789dmttfthC1SG1see40000000tkg00000000bkk3 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:40 GMT + etag: + - '"4804075a-0000-0200-0000-67cac0670000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: C6FA479A86664D13961E3DCE1442E4C7 Ref B: MAA201060515011 Ref C: 2025-03-07T09:46:39Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-01T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger Monthly By Dates","triggerId":"test-trigger-id-monthly-dates","description":"Test + trigger schedule monthly by dates","state":"Active","createdDateTime":"2025-03-07T09:46:39.339Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:39.339Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '588' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:41 GMT + mise-correlation-id: + - 862f3f4b-6a8e-4aad-bd0a-786412d66f93 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094640Z-167c755789dkxplchC1SG1rzhw0000000v8000000000swf0 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:42 GMT + etag: + - '"4804075a-0000-0200-0000-67cac0670000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: B90592911C544EB88ABF2666172C8F5D Ref B: MAA201060513051 Ref C: 2025-03-07T09:46:41Z' + status: + code: 200 + message: OK +- request: + body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-days"], "recurrence": + {"frequency": "MonthlyByDays", "interval": 1, "weekDaysInMonth": ["Monday"], + "index": 1}, "startDateTime": "2025-03-31T23:59:59Z", "state": "Active", "displayName": + "Test Trigger Monthly By Days", "description": "Test trigger schedule monthly + by days"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '336' + Content-Type: + - application/merge-patch+json + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: PATCH + uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger Monthly By Days","triggerId":"test-trigger-id-monthly-days","description":"Test + trigger schedule monthly by days","state":"Active","createdDateTime":"2025-03-07T09:46:43.384Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:43.384Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '600' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:43 GMT + location: + - https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + mise-correlation-id: + - 455bad22-973b-4a59-b2a2-134a0a249fcb + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094642Z-167c755789dnxcc2hC1SG19qas0000000tug00000000dzv0 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:44 GMT + etag: + - '"4804075a-0000-0200-0000-67cac0670000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 8C153E736E784166A9539E5B7979F640 Ref B: MAA201060514027 Ref C: 2025-03-07T09:46:43Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger Monthly By Days","triggerId":"test-trigger-id-monthly-days","description":"Test + trigger schedule monthly by days","state":"Active","createdDateTime":"2025-03-07T09:46:43.384Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:43.384Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '600' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:44 GMT + mise-correlation-id: + - 515bd839-be79-4827-beb1-9a6bcc57447d + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094644Z-167c755789dmttfthC1SG1see40000000tn0000000005cgd + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:46 GMT + etag: + - '"4804075a-0000-0200-0000-67cac0670000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 4DB830E02AB64AB78DE4496F27D98005 Ref B: MAA201060514045 Ref C: 2025-03-07T09:46:45Z' + status: + code: 200 + message: OK +- request: + body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-cron"], "recurrence": + {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-31T23:59:59Z", + "state": "Active", "displayName": "Test Trigger Cron", "description": "Test + trigger schedule cron"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '271' + Content-Type: + - application/merge-patch+json + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: PATCH + uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Cron","cronExpression":"0 + 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger Cron","triggerId":"test-trigger-id-cron","description":"Test trigger + schedule cron","state":"Active","createdDateTime":"2025-03-07T09:46:46.942Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:46.942Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '531' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:47 GMT + location: + - https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + mise-correlation-id: + - a332ede8-a7d7-4996-a590-1113bdc2c81c + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094646Z-167c755789dpktj6hC1SG1nr680000000vm0000000006kn9 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:47 GMT + etag: + - '"4804075a-0000-0200-0000-67cac0670000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: BBD8342C840E4832817F133BEBA36D06 Ref B: MAA201060515025 Ref C: 2025-03-07T09:46:47Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Cron","cronExpression":"0 + 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger Cron","triggerId":"test-trigger-id-cron","description":"Test trigger + schedule cron","state":"Active","createdDateTime":"2025-03-07T09:46:46.942Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:46.942Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '531' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:49 GMT + mise-correlation-id: + - 055b1504-9ed1-4b0f-94c3-30bcfbe43cb7 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094648Z-167c755789dnxcc2hC1SG19qas0000000tu000000000es5p + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml new file mode 100644 index 00000000000..b51a52d010b --- /dev/null +++ b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml @@ -0,0 +1,270 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.380357Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.380357Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"5723943a-29c6-4be6-90a6-5f8985f80885.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '663' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:36 GMT + etag: + - '"4804b35a-0000-0200-0000-67cac06c0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: AF6AB6AE54F64F5680E1D5C40B3D489D Ref B: MAA201060516021 Ref C: 2025-03-07T09:46:29Z' + status: + code: 200 + message: OK +- request: + body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-delete"], "recurrence": + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-31T23:59:59Z", + "state": "Active", "displayName": "Test Trigger", "description": "Test trigger + schedule"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '247' + Content-Type: + - application/merge-patch+json + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: PATCH + uri: https://5723943a-29c6-4be6-90a6-5f8985f80885.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:37.91Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:37.91Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '500' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:38 GMT + location: + - https://5723943a-29c6-4be6-90a6-5f8985f80885.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + mise-correlation-id: + - 1c17aef2-d82d-4dfd-a2d8-9d7d38e5807c + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094637Z-167c755789d5kjvwhC1SG13h0s00000002ag0000000088as + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.380357Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.380357Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"5723943a-29c6-4be6-90a6-5f8985f80885.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '663' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:38 GMT + etag: + - '"4804b35a-0000-0200-0000-67cac06c0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 3D55C9740F40476BBE95359EE7C8E69A Ref B: MAA201060514033 Ref C: 2025-03-07T09:46:38Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: DELETE + uri: https://5723943a-29c6-4be6-90a6-5f8985f80885.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + date: + - Fri, 07 Mar 2025 09:46:40 GMT + mise-correlation-id: + - 8d451088-c555-417f-b122-976b5186c1a0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094639Z-167c755789d68wvvhC1SG10mdg00000007tg00000000103n + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.380357Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.380357Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"5723943a-29c6-4be6-90a6-5f8985f80885.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '663' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:41 GMT + etag: + - '"4804b35a-0000-0200-0000-67cac06c0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 775FBCB8BE134164843A34A8B972BD89 Ref B: MAA201060513033 Ref C: 2025-03-07T09:46:40Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://5723943a-29c6-4be6-90a6-5f8985f80885.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + response: + body: + string: '{"value":[]}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:42 GMT + mise-correlation-id: + - 9e6ea799-24ea-4d03-836e-33cd8231b652 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094641Z-167c755789drsd6jhC1SG13zv40000000u9000000000r6fk + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml new file mode 100644 index 00000000000..78007f69edb --- /dev/null +++ b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml @@ -0,0 +1,465 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.4461126Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.4461126Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:30 GMT + etag: + - '"4804df59-0000-0200-0000-67cac0660000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: E884C62317104F87A0A019781C2C51C7 Ref B: MAA201060516025 Ref C: 2025-03-07T09:46:29Z' + status: + code: 200 + message: OK +- request: + body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-enable"], "recurrence": + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-31T23:59:59Z", + "state": "Active", "displayName": "Test Trigger", "description": "Test trigger + schedule"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '247' + Content-Type: + - application/merge-patch+json + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: PATCH + uri: https://ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:31.919Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:31.919Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '502' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:32 GMT + location: + - https://ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + mise-correlation-id: + - f1e09410-f2c5-4b2d-9695-1876594db688 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094631Z-167c755789dh5d2xhC1SG1c6dc0000000uhg00000000pcev + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.4461126Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.4461126Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:32 GMT + etag: + - '"4804df59-0000-0200-0000-67cac0660000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 60537FD05CA947CCB9F06B911BB4CF9D Ref B: MAA201060516039 Ref C: 2025-03-07T09:46:32Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:31.919Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:31.919Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '502' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:33 GMT + mise-correlation-id: + - 6cd9f440-7606-4421-933e-f588d4d5f338 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094633Z-167c755789d9f6qshC1SG1fkqn0000000vrg00000000mgpa + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-31T23:59:59Z", + "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", + "displayName": "Test Trigger", "description": "Test trigger schedule", "state": + "Paused"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '247' + Content-Type: + - application/merge-patch+json + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: PATCH + uri: https://ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Paused","createdDateTime":"2025-03-07T09:46:31.919Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:34.13Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '479' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:34 GMT + mise-correlation-id: + - 1fb6c72d-9a46-4537-b0b4-893888c0eb10 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094633Z-167c755789d9f6qshC1SG1fkqn0000000vrg00000000mgrx + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.4461126Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.4461126Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:34 GMT + etag: + - '"4804df59-0000-0200-0000-67cac0660000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 1C44487D84AB4AB4873DC36131E6C257 Ref B: MAA201060514049 Ref C: 2025-03-07T09:46:34Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Paused","createdDateTime":"2025-03-07T09:46:31.919Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:34.13Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '479' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:36 GMT + mise-correlation-id: + - 8bdd4396-afd2-435a-a760-0892fcbd2e04 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094635Z-167c755789d4xm2whC1SG1zvh00000000ua0000000006w92 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-31T23:59:59Z", + "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", + "displayName": "Test Trigger", "description": "Test trigger schedule", "state": + "Active"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '247' + Content-Type: + - application/merge-patch+json + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: PATCH + uri: https://ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:31.919Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:36.665Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '502' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:36 GMT + mise-correlation-id: + - 9c67d445-d48f-4a28-84d1-980b2a168356 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094636Z-167c755789d4xm2whC1SG1zvh00000000ua0000000006wbz + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.4461126Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.4461126Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:37 GMT + etag: + - '"4804df59-0000-0200-0000-67cac0660000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: A863D2CF5A5146B9982F53D2BDC0C361 Ref B: MAA201060516051 Ref C: 2025-03-07T09:46:36Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:31.919Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:36.665Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '502' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:38 GMT + mise-correlation-id: + - 6ead29e1-abf2-4c43-9c60-92ac73d13d41 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094638Z-167c755789dt5nrlhC1SG184ss00000001w000000000pebk + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml new file mode 100644 index 00000000000..55983b823a4 --- /dev/null +++ b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml @@ -0,0 +1,187 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.6067146Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.6067146Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0030eb8b-71ab-46bd-8c5f-9a1a40c213e1.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:28 GMT + etag: + - '"4804055a-0000-0200-0000-67cac0670000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 3D14A8FE8F57433C8C3024CB35E0668A Ref B: MAA201060516053 Ref C: 2025-03-07T09:46:27Z' + status: + code: 200 + message: OK +- request: + body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-list"], "recurrence": + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-31T23:59:59Z", + "state": "Active", "displayName": "Test Trigger", "description": "Test trigger + schedule"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '245' + Content-Type: + - application/merge-patch+json + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: PATCH + uri: https://0030eb8b-71ab-46bd-8c5f-9a1a40c213e1.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:29.994Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:29.994Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '500' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:30 GMT + location: + - https://0030eb8b-71ab-46bd-8c5f-9a1a40c213e1.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + mise-correlation-id: + - 892b058e-8e38-49ab-a0b9-1e70f228c1cc + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094629Z-167c755789d9flxvhC1SG1ucs40000000u8g00000000df2s + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.6067146Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.6067146Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0030eb8b-71ab-46bd-8c5f-9a1a40c213e1.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:36 GMT + etag: + - '"4804055a-0000-0200-0000-67cac0670000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: FDE1D62814D84C1B9F94CA24D16742BA Ref B: MAA201060515033 Ref C: 2025-03-07T09:46:30Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://0030eb8b-71ab-46bd-8c5f-9a1a40c213e1.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + response: + body: + string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:29.994Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:29.994Z","lastModifiedBy":"hbisht@microsoft.com"}]}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '512' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:37 GMT + mise-correlation-id: + - 2254755a-455f-402b-ab53-f9daca09739e + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094636Z-167c755789d9f6qshC1SG1fkqn0000000vs000000000hgd8 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml new file mode 100644 index 00000000000..ab15a4deb41 --- /dev/null +++ b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml @@ -0,0 +1,326 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.7640763Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.7640763Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:40 GMT + etag: + - '"4804e259-0000-0200-0000-67cac0670000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 821E6CA57C9F49749786B19308C0F8DE Ref B: MAA201060516025 Ref C: 2025-03-07T09:46:40Z' + status: + code: 200 + message: OK +- request: + body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-pause"], "recurrence": + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-31T23:59:59Z", + "state": "Active", "displayName": "Test Trigger", "description": "Test trigger + schedule"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '246' + Content-Type: + - application/merge-patch+json + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: PATCH + uri: https://f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:42.085Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:42.085Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '501' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:42 GMT + location: + - https://f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + mise-correlation-id: + - d1953f2d-e5d8-40bc-93ff-76db063c71c9 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094641Z-167c755789dkxplchC1SG1rzhw0000000v9000000000ng2d + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.7640763Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.7640763Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:43 GMT + etag: + - '"4804e259-0000-0200-0000-67cac0670000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: AA099F2045BC416EB20BC8134A9DA330 Ref B: MAA201060515029 Ref C: 2025-03-07T09:46:42Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:42.085Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:42.085Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '501' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:47 GMT + mise-correlation-id: + - df69a73f-56a5-455f-92a3-3be64d49d9e4 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094647Z-167c755789dpktj6hC1SG1nr680000000vd000000000uxfs + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-31T23:59:59Z", + "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", + "displayName": "Test Trigger", "description": "Test trigger schedule", "state": + "Paused"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '246' + Content-Type: + - application/merge-patch+json + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: PATCH + uri: https://f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Paused","createdDateTime":"2025-03-07T09:46:42.085Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:48.089Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '479' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:48 GMT + mise-correlation-id: + - 8545a126-eadb-4be8-a39a-e890ce652f38 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094647Z-167c755789dpktj6hC1SG1nr680000000vd000000000uxq0 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.7640763Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.7640763Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:49 GMT + etag: + - '"4804e259-0000-0200-0000-67cac0670000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 531AD6CC6CD44821BDCA90A1BD87D792 Ref B: MAA201060515031 Ref C: 2025-03-07T09:46:48Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Test + Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Paused","createdDateTime":"2025-03-07T09:46:42.085Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:48.089Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '479' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:50 GMT + mise-correlation-id: + - 22e78edc-732d-4ae8-bf16-0151d029d6d1 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094649Z-167c755789d68wvvhC1SG10mdg00000007kg00000000w1q8 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml new file mode 100644 index 00000000000..ba1c5de1649 --- /dev/null +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml @@ -0,0 +1,238 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.6110328Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.6110328Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"c5d4c3c0-bd96-497d-ab6d-34fe2c803e7b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:29 GMT + etag: + - '"4804395a-0000-0200-0000-67cac0680000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: F3735BA0C089479E81FE7EEBEB7CCA22 Ref B: MAA201060514033 Ref C: 2025-03-07T09:46:29Z' + status: + code: 200 + message: OK +- request: + body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-31T23:59:59Z", + "state": "Active", "displayName": "Initial Display Name", "description": "Initial + description"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '253' + Content-Type: + - application/merge-patch+json + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: PATCH + uri: https://c5d4c3c0-bd96-497d-ab6d-34fe2c803e7b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Initial + Display Name","triggerId":"test-trigger-id","description":"Initial description","state":"Active","createdDateTime":"2025-03-07T09:46:30.848Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:30.848Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '508' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:30 GMT + location: + - https://c5d4c3c0-bd96-497d-ab6d-34fe2c803e7b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + mise-correlation-id: + - 03e05274-895d-4b24-b503-56b5cce99efb + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094630Z-167c755789dpdc6bhC1SG15uyn0000000rxg000000005ktn + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.6110328Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.6110328Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"c5d4c3c0-bd96-497d-ab6d-34fe2c803e7b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:31 GMT + etag: + - '"4804395a-0000-0200-0000-67cac0680000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 3FD5D3AD9ED342DC9C403F8A5ACB8C03 Ref B: MAA201060513049 Ref C: 2025-03-07T09:46:31Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://c5d4c3c0-bd96-497d-ab6d-34fe2c803e7b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Initial + Display Name","triggerId":"test-trigger-id","description":"Initial description","state":"Active","createdDateTime":"2025-03-07T09:46:30.848Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:30.848Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '508' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:33 GMT + mise-correlation-id: + - 86b69025-682a-49e4-9e76-64d2f2ad0c78 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094632Z-167c755789dkxplchC1SG1rzhw0000000v9g00000000mze4 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": + {"frequency": "Weekly", "interval": 2, "daysOfWeek": ["Monday"]}, "startDateTime": + "2025-04-01T00:00:00Z", "displayName": "Updated Test Trigger", "description": + "Updated test trigger schedule"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '271' + Content-Type: + - application/merge-patch+json + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: PATCH + uri: https://c5d4c3c0-bd96-497d-ab6d-34fe2c803e7b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-update"],"startDateTime":"2025-04-01T00:00:00Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":2},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-14T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Updated + Test Trigger","triggerId":"test-trigger-id","description":"Updated test trigger + schedule","createdDateTime":"2025-03-07T09:46:30.848Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:33.303Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '526' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 07 Mar 2025 09:46:33 GMT + mise-correlation-id: + - 5daabfd7-d76a-426b-bb86-13e3c5bf0190 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250307T094633Z-167c755789dkxplchC1SG1rzhw0000000v9g00000000mzh1 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/load/azext_load/tests/latest/test_load_trigger_schedule.py b/src/load/azext_load/tests/latest/test_load_trigger_schedule.py index 107f653a711..e7bf9e38a16 100644 --- a/src/load/azext_load/tests/latest/test_load_trigger_schedule.py +++ b/src/load/azext_load/tests/latest/test_load_trigger_schedule.py @@ -1,5 +1,4 @@ # -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- @@ -34,74 +33,202 @@ class LoadTestScenarioTriggerSchedule(ScenarioTest): def __init__(self, *args, **kwargs): super(LoadTestScenarioTriggerSchedule, self).__init__(*args, **kwargs) self.kwargs.update({"subscription_id": self.get_subscription_id()}) - - @ResourceGroupPreparer(**rg_params) - @LoadTestResourcePreparer(**load_params) - def test_create_trigger_schedule(self, rg, load): - self.kwargs.update({ - "trigger_id": "test-trigger-id", - "description": "Test trigger schedule", - "display_name": "Test Trigger", - "start_date_time": "2025-03-31T23:59:59Z", - "recurrence_type": "Daily", - "recurrence_interval": 1, - "test_ids": "test-id-1" - }) + def create_trigger_schedule(self, trigger_id, description, display_name, start_date_time, test_ids, recurrence_type=None, recurrence_interval=None, recurrence_week_days=None, recurrence_dates_in_month=None, recurrence_index=None, recurrence_cron_expression=None): + cmd = [ + 'az load trigger schedule create', + '--name {load_test_resource}', + '--resource-group {resource_group}', + f'--trigger-id {trigger_id}', + f'--description "{description}"', + f'--display-name "{display_name}"', + f'--start-date-time {start_date_time}', + f'--test-ids {test_ids}' + ] + if recurrence_type: + cmd.append(f'--recurrence-type {recurrence_type}') + if recurrence_interval: + cmd.append(f'--recurrence-interval {recurrence_interval}') + if recurrence_week_days: + cmd.append(f'--recurrence-week-days {recurrence_week_days}') + if recurrence_dates_in_month: + cmd.append(f'--recurrence-dates-in-month {recurrence_dates_in_month}') + if recurrence_index: + cmd.append(f'--recurrence-index {recurrence_index}') + if recurrence_cron_expression: + cmd.append(f'--recurrence-cron-exp "{recurrence_cron_expression}"') + + self.cmd(' '.join(cmd)) + + def verify_trigger_schedule(self, trigger_id, description, display_name, start_date_time, test_ids, recurrence_type=None, recurrence_interval=None, recurrence_week_days=None, recurrence_dates_in_month=None, recurrence_index=None, recurrence_cron_expression=None): checks = [ - JMESPathCheck("description", self.kwargs["description"]), - JMESPathCheck("displayName", self.kwargs["display_name"]), - JMESPathCheck("startDateTime", self.kwargs["start_date_time"]), - JMESPathCheck("recurrence.frequency", self.kwargs["recurrence_type"]), - JMESPathCheck("recurrence.interval", self.kwargs["recurrence_interval"]), - JMESPathCheck("testIds[0]", self.kwargs["test_ids"]), + JMESPathCheck("description", description), + JMESPathCheck("displayName", display_name), + JMESPathCheck("startDateTime", start_date_time), + JMESPathCheck("testIds[0]", test_ids), ] + if recurrence_type: + checks.append(JMESPathCheck("recurrence.frequency", recurrence_type)) + if recurrence_interval: + checks.append(JMESPathCheck("recurrence.interval", recurrence_interval)) + if recurrence_week_days: + week_days = recurrence_week_days.split() + if recurrence_type == "Weekly": + for i, day in enumerate(week_days): + checks.append(JMESPathCheck(f"recurrence.daysOfWeek[{i}]", day)) + else: + for i, day in enumerate(week_days): + checks.append(JMESPathCheck(f"recurrence.weekDaysInMonth[{i}]", day)) + if recurrence_dates_in_month: + dates_in_month = recurrence_dates_in_month.split() + for i, date in enumerate(dates_in_month): + checks.append(JMESPathCheck(f"recurrence.datesInMonth[{i}]", int(date))) + if recurrence_index: + checks.append(JMESPathCheck("recurrence.index", recurrence_index)) + if recurrence_cron_expression: + checks.append(JMESPathCheck("recurrence.cronExpression", recurrence_cron_expression)) self.cmd( - 'az load trigger schedule create ' + 'az load trigger schedule show ' '--name {load_test_resource} ' '--resource-group {resource_group} ' - '--trigger-id {trigger_id} ' - '--description "{description}" ' - '--display-name "{display_name}" ' - '--start-date-time {start_date_time} ' - '--recurrence-type {recurrence_type} ' - '--recurrence-interval {recurrence_interval} ' - '--test-ids {test_ids}', - checks=checks, + f'--trigger-id {trigger_id}', + checks=checks + ) + + @ResourceGroupPreparer(**rg_params) + @LoadTestResourcePreparer(**load_params) + def test_create_and_verify_trigger_schedules(self, rg, load): + # Test Daily Recurrence + self.create_trigger_schedule( + trigger_id="test-trigger-id-daily", + description="Test trigger schedule daily", + display_name="Test Trigger Daily", + start_date_time="2025-03-31T23:59:59Z", + recurrence_type="Daily", + recurrence_interval=1, + test_ids="test-id-daily" + ) + self.verify_trigger_schedule( + trigger_id="test-trigger-id-daily", + description="Test trigger schedule daily", + display_name="Test Trigger Daily", + start_date_time="2025-03-31T23:59:59Z", + recurrence_type="Daily", + recurrence_interval=1, + test_ids="test-id-daily" + ) + + # Test Weekly Recurrence + self.create_trigger_schedule( + trigger_id="test-trigger-id-weekly", + description="Test trigger schedule weekly", + display_name="Test Trigger Weekly", + start_date_time="2025-03-31T23:59:59Z", + recurrence_type="Weekly", + recurrence_interval=1, + recurrence_week_days="Monday Tuesday", + test_ids="test-id-weekly" + ) + self.verify_trigger_schedule( + trigger_id="test-trigger-id-weekly", + description="Test trigger schedule weekly", + display_name="Test Trigger Weekly", + start_date_time="2025-03-31T23:59:59Z", + recurrence_type="Weekly", + recurrence_interval=1, + recurrence_week_days="Monday Tuesday", + test_ids="test-id-weekly" + ) + + # Test Monthly By Dates Recurrence + self.create_trigger_schedule( + trigger_id="test-trigger-id-monthly-dates", + description="Test trigger schedule monthly by dates", + display_name="Test Trigger Monthly By Dates", + start_date_time="2025-03-31T23:59:59Z", + recurrence_type="MonthlyByDates", + recurrence_interval=1, + recurrence_dates_in_month="1 15", + test_ids="test-id-monthly-dates" + ) + self.verify_trigger_schedule( + trigger_id="test-trigger-id-monthly-dates", + description="Test trigger schedule monthly by dates", + display_name="Test Trigger Monthly By Dates", + start_date_time="2025-03-31T23:59:59Z", + recurrence_type="MonthlyByDates", + recurrence_interval=1, + recurrence_dates_in_month="1 15", + test_ids="test-id-monthly-dates" + ) + + # Test Monthly By Days Recurrence + self.create_trigger_schedule( + trigger_id="test-trigger-id-monthly-days", + description="Test trigger schedule monthly by days", + display_name="Test Trigger Monthly By Days", + start_date_time="2025-03-31T23:59:59Z", + recurrence_type="MonthlyByDays", + recurrence_interval=1, + recurrence_week_days="Monday", + recurrence_index=1, + test_ids="test-id-monthly-days" + ) + self.verify_trigger_schedule( + trigger_id="test-trigger-id-monthly-days", + description="Test trigger schedule monthly by days", + display_name="Test Trigger Monthly By Days", + start_date_time="2025-03-31T23:59:59Z", + recurrence_type="MonthlyByDays", + recurrence_interval=1, + recurrence_week_days="Monday", + recurrence_index=1, + test_ids="test-id-monthly-days" + ) + + # Test Cron Recurrence + self.create_trigger_schedule( + trigger_id="test-trigger-id-cron", + description="Test trigger schedule cron", + display_name="Test Trigger Cron", + start_date_time="2025-03-31T23:59:59Z", + recurrence_type="Cron", + recurrence_cron_expression="0 0 12 * *", + test_ids="test-id-cron" + ) + self.verify_trigger_schedule( + trigger_id="test-trigger-id-cron", + description="Test trigger schedule cron", + display_name="Test Trigger Cron", + start_date_time="2025-03-31T23:59:59Z", + recurrence_type="Cron", + recurrence_cron_expression="0 0 12 * *", + test_ids="test-id-cron" ) @ResourceGroupPreparer(**rg_params) @LoadTestResourcePreparer(**load_params) def test_update_trigger_schedule(self, rg, load): + self.create_trigger_schedule( + trigger_id="test-trigger-id", + description="Initial description", + display_name="Initial Display Name", + start_date_time="2025-03-31T23:59:59Z", + recurrence_type="Daily", + recurrence_interval=1, + test_ids="test-id-update" + ) + self.kwargs.update({ "trigger_id": "test-trigger-id", "description": "Updated test trigger schedule", "display_name": "Updated Test Trigger", "start_date_time": "2025-04-01T00:00:00Z", - "recurrence_type": "Daily", - "recurrence_interval": 2, - "recurrence_week_days": "Monday", - "test_ids": "test-id-1" - }) - - # Create initial trigger schedule - self.cmd( - 'az load trigger schedule create ' - '--name {load_test_resource} ' - '--resource-group {resource_group} ' - '--trigger-id {trigger_id} ' - '--description "Initial description" ' - '--display-name "Initial Display Name" ' - '--start-date-time "2025-03-31T23:59:59Z" ' - '--recurrence-type {recurrence_type} ' - '--recurrence-interval 1 ' - '--test-ids {test_ids}' - ) - - self.kwargs.update({ "recurrence_type": "Weekly", + "recurrence_interval": 2, "recurrence_week_days": "Monday", + "test_ids": "test-id-update" }) checks = [ @@ -132,30 +259,25 @@ def test_update_trigger_schedule(self, rg, load): @ResourceGroupPreparer(**rg_params) @LoadTestResourcePreparer(**load_params) def test_list_trigger_schedules(self, rg, load): + self.create_trigger_schedule( + trigger_id="test-trigger-id", + description="Test trigger schedule", + display_name="Test Trigger", + start_date_time="2025-03-31T23:59:59Z", + recurrence_type="Daily", + recurrence_interval=1, + test_ids="test-id-list" + ) + self.kwargs.update({ - "trigger_id": "test-trigger-id", "description": "Test trigger schedule", "display_name": "Test Trigger", "start_date_time": "2025-03-31T23:59:59Z", "recurrence_type": "Daily", "recurrence_interval": 1, - "test_ids": "test-id-1" + "test_ids": "test-id-list" }) - # Create a trigger schedule - self.cmd( - 'az load trigger schedule create ' - '--name {load_test_resource} ' - '--resource-group {resource_group} ' - '--trigger-id {trigger_id} ' - '--description "{description}" ' - '--display-name "{display_name}" ' - '--start-date-time {start_date_time} ' - '--recurrence-type {recurrence_type} ' - '--recurrence-interval {recurrence_interval} ' - '--test-ids {test_ids}' - ) - checks = [ JMESPathCheck("length(@)", 1), JMESPathCheck("[0].description", self.kwargs["description"]), @@ -176,29 +298,20 @@ def test_list_trigger_schedules(self, rg, load): @ResourceGroupPreparer(**rg_params) @LoadTestResourcePreparer(**load_params) def test_delete_trigger_schedule(self, rg, load): + self.create_trigger_schedule( + trigger_id="test-trigger-id", + description="Test trigger schedule", + display_name="Test Trigger", + start_date_time="2025-03-31T23:59:59Z", + recurrence_type="Daily", + recurrence_interval=1, + test_ids="test-id-delete" + ) + self.kwargs.update({ - "trigger_id": "test-trigger-id", - "description": "Test trigger schedule", - "display_name": "Test Trigger", - "start_date_time": "2025-03-31T23:59:59Z", - "recurrence_type": "Daily", - "recurrence_interval": 1, - "test_ids": "test-id-1" + "trigger_id": "test-trigger-id" }) - # Create a trigger schedule - self.cmd( - 'az load trigger schedule create ' - '--name {load_test_resource} ' - '--resource-group {resource_group} ' - '--trigger-id {trigger_id} ' - '--description "{description}" ' - '--display-name "{display_name}" ' - '--start-date-time {start_date_time} ' - '--recurrence-type {recurrence_type} ' - '--recurrence-interval {recurrence_interval} ' - '--test-ids {test_ids}' - ) # Delete the trigger schedule self.cmd( @@ -223,30 +336,20 @@ def test_delete_trigger_schedule(self, rg, load): @ResourceGroupPreparer(**rg_params) @LoadTestResourcePreparer(**load_params) def test_pause_trigger_schedule(self, rg, load): + self.create_trigger_schedule( + trigger_id="test-trigger-id", + description="Test trigger schedule", + display_name="Test Trigger", + start_date_time="2025-03-31T23:59:59Z", + recurrence_type="Daily", + recurrence_interval=1, + test_ids="test-id-pause" + ) + self.kwargs.update({ - "trigger_id": "test-trigger-id", - "description": "Test trigger schedule", - "display_name": "Test Trigger", - "start_date_time": "2025-03-31T23:59:59Z", - "recurrence_type": "Daily", - "recurrence_interval": 1, - "test_ids": "test-id-1" + "trigger_id": "test-trigger-id" }) - # Create a trigger schedule - self.cmd( - 'az load trigger schedule create ' - '--name {load_test_resource} ' - '--resource-group {resource_group} ' - '--trigger-id {trigger_id} ' - '--description "{description}" ' - '--display-name "{display_name}" ' - '--start-date-time {start_date_time} ' - '--recurrence-type {recurrence_type} ' - '--recurrence-interval {recurrence_interval} ' - '--test-ids {test_ids}' - ) - # Pause the trigger schedule self.cmd( 'az load trigger schedule pause ' @@ -270,30 +373,20 @@ def test_pause_trigger_schedule(self, rg, load): @ResourceGroupPreparer(**rg_params) @LoadTestResourcePreparer(**load_params) def test_enable_trigger_schedule(self, rg, load): + self.create_trigger_schedule( + trigger_id="test-trigger-id", + description="Test trigger schedule", + display_name="Test Trigger", + start_date_time="2025-03-31T23:59:59Z", + recurrence_type="Daily", + recurrence_interval=1, + test_ids="test-id-enable" + ) + self.kwargs.update({ - "trigger_id": "test-trigger-id", - "description": "Test trigger schedule", - "display_name": "Test Trigger", - "start_date_time": "2025-03-31T23:59:59Z", - "recurrence_type": "Daily", - "recurrence_interval": 1, - "test_ids": "test-id-1" + "trigger_id": "test-trigger-id" }) - # Create a trigger schedule - self.cmd( - 'az load trigger schedule create ' - '--name {load_test_resource} ' - '--resource-group {resource_group} ' - '--trigger-id {trigger_id} ' - '--description "{description}" ' - '--display-name "{display_name}" ' - '--start-date-time {start_date_time} ' - '--recurrence-type {recurrence_type} ' - '--recurrence-interval {recurrence_interval} ' - '--test-ids {test_ids}' - ) - # Pause the trigger schedule self.cmd( 'az load trigger schedule pause ' From e803d3747764d3b518e98b2fd0021a9723ca6aac Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Fri, 7 Mar 2025 11:14:46 +0000 Subject: [PATCH 05/16] Enhancing test cases for schedule --- src/load/azext_load/tests/latest/constants.py | 82 ++++- ...t_create_and_verify_trigger_schedules.yaml | 294 +++++++++--------- .../test_delete_trigger_schedule.yaml | 71 ++--- .../test_enable_trigger_schedule.yaml | 148 ++++----- .../test_list_trigger_schedules.yaml | 56 ++-- .../test_pause_trigger_schedule.yaml | 102 +++--- .../test_update_trigger_schedule.yaml | 70 +++-- .../latest/test_load_trigger_schedule.py | 251 ++++++++------- 8 files changed, 584 insertions(+), 490 deletions(-) diff --git a/src/load/azext_load/tests/latest/constants.py b/src/load/azext_load/tests/latest/constants.py index eb81b46a870..b3afba65efd 100644 --- a/src/load/azext_load/tests/latest/constants.py +++ b/src/load/azext_load/tests/latest/constants.py @@ -3,7 +3,7 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -import os +import os, datetime TEST_RESOURCES_DIR = os.path.join(os.path.dirname(__file__), r"resources") @@ -217,3 +217,83 @@ class LoadTestRunConstants(LoadConstants): DESCRIPTION = r"Sample_testrun_description" DISPLAY_NAME = r"Sample_testrun_display_name" + + +class LoadTestTriggerConstants(LoadConstants): + # Constants for test_pause_trigger_schedule + PAUSE_TRIGGER_ID = "test-trigger-id-pause" + PAUSE_DESCRIPTION = "Trigger schedule for pause test case" + PAUSE_DISPLAY_NAME = "Pause Trigger" + PAUSE_TEST_IDS = "test-id-pause" + + # Constants for test_enable_trigger_schedule + ENABLE_TRIGGER_ID = "test-trigger-id-enable" + ENABLE_DESCRIPTION = "Trigger schedule for enable test case" + ENABLE_DISPLAY_NAME = "Enable Trigger" + ENABLE_TEST_IDS = "test-id-enable" + + # Constants for test_delete_trigger_schedule + DELETE_TRIGGER_ID = "test-trigger-id-delete" + DELETE_DESCRIPTION = "Trigger schedule for delete test case" + DELETE_DISPLAY_NAME = "Delete Trigger" + DELETE_TEST_IDS = "test-id-delete" + + # Constants for test_list_trigger_schedule + LIST_TRIGGER_ID = "test-trigger-id-list" + LIST_DESCRIPTION = "Trigger schedule for list test case" + LIST_DISPLAY_NAME = "List Trigger" + LIST_TEST_IDS = "test-id-list" + + # Constants for test_update_trigger_schedule + UPDATE_TRIGGER_ID = "test-trigger-id-update" + UPDATE_DESCRIPTION = "Trigger schedule for update test case" + UPDATE_DISPLAY_NAME = "Update Trigger" + UPDATE_TEST_IDS = "test-id-update" + + DAILY_RECURRENCE_TYPE = "Daily" + RECURRENCE_INTERVAL_ONE = 1 + CURRENT_DATE_TIME = datetime.datetime.now(datetime.UTC).strftime('%Y-%m-%dT%H:%M:%SZ') + + # Constants for cron schedule + CRON_TRIGGER_ID = "test-trigger-id-cron" + CRON_DESCRIPTION = "Trigger schedule for cron test case" + CRON_DISPLAY_NAME = "Cron Trigger" + CRON_TEST_IDS = "test-id-cron" + CRON_RECURRENCE_TYPE = "Cron" + CRON_RECURRENCE_CRON_EXPRESSION = "0 0 12 * *" + + # Constants for daily schedule + DAILY_TRIGGER_ID = "test-trigger-id-daily" + DAILY_DESCRIPTION = "Trigger schedule for daily test case" + DAILY_DISPLAY_NAME = "Daily Trigger" + DAILY_TEST_IDS = "test-id-daily" + DAILY_RECURRENCE_TYPE = "Daily" + DAILY_RECURRENCE_INTERVAL = 1 + + # Constants for weekly schedule + WEEKLY_TRIGGER_ID = "test-trigger-id-weekly" + WEEKLY_DESCRIPTION = "Trigger schedule for weekly test case" + WEEKLY_DISPLAY_NAME = "Weekly Trigger" + WEEKLY_TEST_IDS = "test-id-weekly" + WEEKLY_RECURRENCE_TYPE = "Weekly" + WEEKLY_RECURRENCE_INTERVAL = 1 + WEEKLY_RECURRENCE_DAYS = "Monday" + + # Constants for monthly by dates schedule + MONTHLY_DATES_TRIGGER_ID = "test-trigger-id-monthly-dates" + MONTHLY_DATES_DESCRIPTION = "Trigger schedule for monthly by dates test case" + MONTHLY_DATES_DISPLAY_NAME = "Monthly By Dates Trigger" + MONTHLY_DATES_TEST_IDS = "test-id-monthly-dates" + MONTHLY_DATES_RECURRENCE_TYPE = "MonthlyByDates" + MONTHLY_DATES_RECURRENCE_INTERVAL = 1 + MONTHLY_DATES_RECURRENCE_DATES_IN_MONTH = "1 15" + + # Constants for monthly by days schedule + MONTHLY_DAYS_TRIGGER_ID = "test-trigger-id-monthly-days" + MONTHLY_DAYS_DESCRIPTION = "Trigger schedule for monthly by days test case" + MONTHLY_DAYS_DISPLAY_NAME = "Monthly By Days Trigger" + MONTHLY_DAYS_TEST_IDS = "test-id-monthly-days" + MONTHLY_DAYS_RECURRENCE_TYPE = "MonthlyByDays" + MONTHLY_DAYS_RECURRENCE_INTERVAL = 1 + MONTHLY_DAYS_RECURRENCE_WEEK_DAYS = "Monday" + MONTHLY_DAYS_RECURRENCE_INDEX = 1 diff --git a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml index 8562e2e1ae3..13860531e48 100644 --- a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:29 GMT + - Fri, 07 Mar 2025 11:13:24 GMT etag: - - '"4804075a-0000-0200-0000-67cac0670000"' + - '"4b04ff53-0000-0200-0000-67cad4c70000"' expires: - '-1' pragma: @@ -41,15 +41,15 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: CF2C0C5F1F5F4B7FBAD34C4327A2E4B5 Ref B: MAA201060514017 Ref C: 2025-03-07T09:46:29Z' + - 'Ref A: DBD479F9F38F4CA6A70B415E762CB4BA Ref B: MAA201060516021 Ref C: 2025-03-07T11:13:23Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-daily"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-31T23:59:59Z", - "state": "Active", "displayName": "Test Trigger Daily", "description": "Test - trigger schedule daily"}' + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-07T11:12:41Z", + "state": "Active", "displayName": "Daily Trigger", "description": "Trigger schedule + for daily test case"}' headers: Accept: - application/json @@ -58,37 +58,37 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '262' Content-Type: - application/merge-patch+json User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger Daily","triggerId":"test-trigger-id-daily","description":"Test trigger - schedule daily","state":"Active","createdDateTime":"2025-03-07T09:46:31.27Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:31.27Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule + for daily test case","state":"Active","createdDateTime":"2025-03-07T11:13:25.878Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:25.878Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '517' + - '523' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:31 GMT + - Fri, 07 Mar 2025 11:13:26 GMT location: - - https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + - https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview mise-correlation-id: - - d585333b-e86e-4102-baae-01a024498c11 + - 6d1a4a45-3348-466a-81a4-7ece32262e50 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094630Z-167c755789d68wvvhC1SG10mdg00000007rg000000009181 + - 20250307T111325Z-167c755789d68wvvhC1SG10mdg00000007zg0000000007ve x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -111,7 +111,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -120,9 +120,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:32 GMT + - Fri, 07 Mar 2025 11:13:26 GMT etag: - - '"4804075a-0000-0200-0000-67cac0670000"' + - '"4b04ff53-0000-0200-0000-67cad4c70000"' expires: - '-1' pragma: @@ -138,7 +138,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 0FAD7BC7826149008E88F726ECC6F0BC Ref B: MAA201060514031 Ref C: 2025-03-07T09:46:31Z' + - 'Ref A: 8C96845C84DA49ED80F6025FA72E0C14 Ref B: MAA201060513049 Ref C: 2025-03-07T11:13:26Z' status: code: 200 message: OK @@ -154,12 +154,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger Daily","triggerId":"test-trigger-id-daily","description":"Test trigger - schedule daily","state":"Active","createdDateTime":"2025-03-07T09:46:31.27Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:31.27Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule + for daily test case","state":"Active","createdDateTime":"2025-03-07T11:13:25.878Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:25.878Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -168,17 +168,17 @@ interactions: connection: - keep-alive content-length: - - '517' + - '523' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:33 GMT + - Fri, 07 Mar 2025 11:13:27 GMT mise-correlation-id: - - 786725d1-cb43-42ec-97e0-1a36a7e4697c + - 2749774e-1d34-4738-9a71-7fb61773ae67 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094633Z-167c755789dt5nrlhC1SG184ss0000000210000000002eub + - 20250307T111326Z-167c755789d9f6qshC1SG1fkqn0000000vzg00000000ahbd x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -201,7 +201,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -210,9 +210,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:34 GMT + - Fri, 07 Mar 2025 11:13:27 GMT etag: - - '"4804075a-0000-0200-0000-67cac0670000"' + - '"4b04ff53-0000-0200-0000-67cad4c70000"' expires: - '-1' pragma: @@ -228,15 +228,15 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 10BB6E2167BC405087D727E938F1F00F Ref B: MAA201060514017 Ref C: 2025-03-07T09:46:33Z' + - 'Ref A: A149B96CD3E94BC084B0E15F4011D971 Ref B: MAA201060515049 Ref C: 2025-03-07T11:13:27Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-weekly"], "recurrence": - {"frequency": "Weekly", "interval": 1, "daysOfWeek": ["Monday", "Tuesday"]}, - "startDateTime": "2025-03-31T23:59:59Z", "state": "Active", "displayName": "Test - Trigger Weekly", "description": "Test trigger schedule weekly"}' + {"frequency": "Weekly", "interval": 1, "daysOfWeek": ["Monday"]}, "startDateTime": + "2025-03-07T11:12:41Z", "state": "Active", "displayName": "Weekly Trigger", + "description": "Trigger schedule for weekly test case"}' headers: Accept: - application/json @@ -245,37 +245,37 @@ interactions: Connection: - keep-alive Content-Length: - - '299' + - '292' Content-Type: - application/merge-patch+json User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday","Tuesday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger Weekly","triggerId":"test-trigger-id-weekly","description":"Test trigger - schedule weekly","state":"Active","createdDateTime":"2025-03-07T09:46:35.694Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:35.694Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule + for weekly test case","state":"Active","createdDateTime":"2025-03-07T11:13:29.312Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:29.312Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '558' + - '552' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:35 GMT + - Fri, 07 Mar 2025 11:13:29 GMT location: - - https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + - https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview mise-correlation-id: - - 1bc2e62a-e0c3-44d5-bf89-ef8e8f33a2eb + - 5a1c8a37-10e0-4d88-a470-61a64764258f strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094634Z-167c755789dbhjzdhC1SG1t7h80000000v4g000000004d4p + - 20250307T111328Z-167c755789dt5nrlhC1SG184ss000000024000000000ceex x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -298,7 +298,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -307,9 +307,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:36 GMT + - Fri, 07 Mar 2025 11:13:30 GMT etag: - - '"4804075a-0000-0200-0000-67cac0670000"' + - '"4b04ff53-0000-0200-0000-67cad4c70000"' expires: - '-1' pragma: @@ -325,7 +325,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 1550C5943FAA4DAD872C9B7275997A0C Ref B: MAA201060515049 Ref C: 2025-03-07T09:46:36Z' + - 'Ref A: E8A024A6AFEF4566B432BAB303327783 Ref B: MAA201060515037 Ref C: 2025-03-07T11:13:29Z' status: code: 200 message: OK @@ -341,12 +341,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday","Tuesday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger Weekly","triggerId":"test-trigger-id-weekly","description":"Test trigger - schedule weekly","state":"Active","createdDateTime":"2025-03-07T09:46:35.694Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:35.694Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule + for weekly test case","state":"Active","createdDateTime":"2025-03-07T11:13:29.312Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:29.312Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -355,17 +355,17 @@ interactions: connection: - keep-alive content-length: - - '558' + - '552' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:37 GMT + - Fri, 07 Mar 2025 11:13:31 GMT mise-correlation-id: - - fb8673c8-ddd6-4355-a562-5f6146ea4c84 + - 5052427d-d0a4-4f3a-a42d-4e34edc58871 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094636Z-167c755789dt5nrlhC1SG184ss00000001v000000000t7av + - 20250307T111331Z-167c755789dnxcc2hC1SG19qas0000000u2g00000000586b x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -388,7 +388,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -397,9 +397,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:38 GMT + - Fri, 07 Mar 2025 11:13:33 GMT etag: - - '"4804075a-0000-0200-0000-67cac0670000"' + - '"4b04ff53-0000-0200-0000-67cad4c70000"' expires: - '-1' pragma: @@ -415,16 +415,16 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 7017002852034315A2AF79E159558D28 Ref B: MAA201060516009 Ref C: 2025-03-07T09:46:37Z' + - 'Ref A: 5A97D784DB614E2587D0B0B0073D5A20 Ref B: MAA201060513051 Ref C: 2025-03-07T11:13:32Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-dates"], "recurrence": {"frequency": "MonthlyByDates", "interval": 1, "datesInMonth": - [1, 15]}, "startDateTime": "2025-03-31T23:59:59Z", "state": "Active", "displayName": - "Test Trigger Monthly By Dates", "description": "Test trigger schedule monthly - by dates"}' + [1, 15]}, "startDateTime": "2025-03-07T11:12:41Z", "state": "Active", "displayName": + "Monthly By Dates Trigger", "description": "Trigger schedule for monthly by + dates test case"}' headers: Accept: - application/json @@ -433,37 +433,37 @@ interactions: Connection: - keep-alive Content-Length: - - '322' + - '326' Content-Type: - application/merge-patch+json User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-01T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger Monthly By Dates","triggerId":"test-trigger-id-monthly-dates","description":"Test - trigger schedule monthly by dates","state":"Active","createdDateTime":"2025-03-07T09:46:39.339Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:39.339Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-07T11:13:34.614Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:34.614Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '588' + - '592' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:39 GMT + - Fri, 07 Mar 2025 11:13:34 GMT location: - - https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + - https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview mise-correlation-id: - - 5af61589-2ba1-4405-bd9c-759f07075e3a + - f3fd9d16-62cf-4893-a578-97120bd15ec8 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094638Z-167c755789dmttfthC1SG1see40000000tkg00000000bkk3 + - 20250307T111333Z-167c755789dpktj6hC1SG1nr680000000vp000000000hy7q x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -486,7 +486,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -495,9 +495,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:40 GMT + - Fri, 07 Mar 2025 11:13:35 GMT etag: - - '"4804075a-0000-0200-0000-67cac0670000"' + - '"4b04ff53-0000-0200-0000-67cad4c70000"' expires: - '-1' pragma: @@ -513,7 +513,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: C6FA479A86664D13961E3DCE1442E4C7 Ref B: MAA201060515011 Ref C: 2025-03-07T09:46:39Z' + - 'Ref A: FEDE07CA14C14B198785B9B1F5176CF8 Ref B: MAA201060515033 Ref C: 2025-03-07T11:13:34Z' status: code: 200 message: OK @@ -529,12 +529,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-01T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger Monthly By Dates","triggerId":"test-trigger-id-monthly-dates","description":"Test - trigger schedule monthly by dates","state":"Active","createdDateTime":"2025-03-07T09:46:39.339Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:39.339Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-07T11:13:34.614Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:34.614Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -543,17 +543,17 @@ interactions: connection: - keep-alive content-length: - - '588' + - '592' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:41 GMT + - Fri, 07 Mar 2025 11:13:36 GMT mise-correlation-id: - - 862f3f4b-6a8e-4aad-bd0a-786412d66f93 + - c2f8312e-e883-4447-a94f-8085dbf19945 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094640Z-167c755789dkxplchC1SG1rzhw0000000v8000000000swf0 + - 20250307T111335Z-167c755789dkxplchC1SG1rzhw0000000vh000000000cunx x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -576,7 +576,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -585,9 +585,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:42 GMT + - Fri, 07 Mar 2025 11:13:36 GMT etag: - - '"4804075a-0000-0200-0000-67cac0670000"' + - '"4b04ff53-0000-0200-0000-67cad4c70000"' expires: - '-1' pragma: @@ -603,16 +603,16 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: B90592911C544EB88ABF2666172C8F5D Ref B: MAA201060513051 Ref C: 2025-03-07T09:46:41Z' + - 'Ref A: 8A7A5AAA0B0E4CD79341785FA791465D Ref B: MAA201060514045 Ref C: 2025-03-07T11:13:36Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-days"], "recurrence": {"frequency": "MonthlyByDays", "interval": 1, "weekDaysInMonth": ["Monday"], - "index": 1}, "startDateTime": "2025-03-31T23:59:59Z", "state": "Active", "displayName": - "Test Trigger Monthly By Days", "description": "Test trigger schedule monthly - by days"}' + "index": 1}, "startDateTime": "2025-03-07T11:12:41Z", "state": "Active", "displayName": + "Monthly By Days Trigger", "description": "Trigger schedule for monthly by days + test case"}' headers: Accept: - application/json @@ -621,37 +621,37 @@ interactions: Connection: - keep-alive Content-Length: - - '336' + - '340' Content-Type: - application/merge-patch+json User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger Monthly By Days","triggerId":"test-trigger-id-monthly-days","description":"Test - trigger schedule monthly by days","state":"Active","createdDateTime":"2025-03-07T09:46:43.384Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:43.384Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-07T11:13:38.428Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:38.428Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '600' + - '604' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:43 GMT + - Fri, 07 Mar 2025 11:13:38 GMT location: - - https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + - https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview mise-correlation-id: - - 455bad22-973b-4a59-b2a2-134a0a249fcb + - 51de4e4e-15c9-4bfa-96f0-c8ccc9039645 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094642Z-167c755789dnxcc2hC1SG19qas0000000tug00000000dzv0 + - 20250307T111337Z-167c755789dnxcc2hC1SG19qas0000000u200000000074ha x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -674,7 +674,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -683,9 +683,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:44 GMT + - Fri, 07 Mar 2025 11:13:38 GMT etag: - - '"4804075a-0000-0200-0000-67cac0670000"' + - '"4b04ff53-0000-0200-0000-67cad4c70000"' expires: - '-1' pragma: @@ -701,7 +701,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 8C153E736E784166A9539E5B7979F640 Ref B: MAA201060514027 Ref C: 2025-03-07T09:46:43Z' + - 'Ref A: 5E69D5F7D604426685186EFDCFCA275D Ref B: MAA201060515031 Ref C: 2025-03-07T11:13:38Z' status: code: 200 message: OK @@ -717,12 +717,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger Monthly By Days","triggerId":"test-trigger-id-monthly-days","description":"Test - trigger schedule monthly by days","state":"Active","createdDateTime":"2025-03-07T09:46:43.384Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:43.384Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-07T11:13:38.428Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:38.428Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -731,17 +731,17 @@ interactions: connection: - keep-alive content-length: - - '600' + - '604' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:44 GMT + - Fri, 07 Mar 2025 11:13:40 GMT mise-correlation-id: - - 515bd839-be79-4827-beb1-9a6bcc57447d + - 18cb8d35-9306-442d-8afa-4490405bc260 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094644Z-167c755789dmttfthC1SG1see40000000tn0000000005cgd + - 20250307T111339Z-167c755789dmttfthC1SG1see40000000tn000000000tbtw x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -764,7 +764,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -773,9 +773,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:46 GMT + - Fri, 07 Mar 2025 11:13:41 GMT etag: - - '"4804075a-0000-0200-0000-67cac0670000"' + - '"4b04ff53-0000-0200-0000-67cad4c70000"' expires: - '-1' pragma: @@ -791,15 +791,15 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 4DB830E02AB64AB78DE4496F27D98005 Ref B: MAA201060514045 Ref C: 2025-03-07T09:46:45Z' + - 'Ref A: EDB620DA02F94F76B92EA993E11ACE6A Ref B: MAA201060513053 Ref C: 2025-03-07T11:13:40Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-cron"], "recurrence": - {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-31T23:59:59Z", - "state": "Active", "displayName": "Test Trigger Cron", "description": "Test - trigger schedule cron"}' + {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-07T11:12:41Z", + "state": "Active", "displayName": "Cron Trigger", "description": "Trigger schedule + for cron test case"}' headers: Accept: - application/json @@ -808,38 +808,38 @@ interactions: Connection: - keep-alive Content-Length: - - '271' + - '275' Content-Type: - application/merge-patch+json User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Cron","cronExpression":"0 - 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger Cron","triggerId":"test-trigger-id-cron","description":"Test trigger - schedule cron","state":"Active","createdDateTime":"2025-03-07T09:46:46.942Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:46.942Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"Cron","cronExpression":"0 + 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron + Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule + for cron test case","state":"Active","createdDateTime":"2025-03-07T11:13:42.363Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:42.363Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '531' + - '535' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:47 GMT + - Fri, 07 Mar 2025 11:13:43 GMT location: - - https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + - https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview mise-correlation-id: - - a332ede8-a7d7-4996-a590-1113bdc2c81c + - 44cb8aeb-01cf-422f-9054-a702f84d9a71 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094646Z-167c755789dpktj6hC1SG1nr680000000vm0000000006kn9 + - 20250307T111341Z-167c755789d5kjvwhC1SG13h0s00000002c000000000qmew x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -862,7 +862,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.8011714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.8011714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -871,9 +871,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:47 GMT + - Fri, 07 Mar 2025 11:13:43 GMT etag: - - '"4804075a-0000-0200-0000-67cac0670000"' + - '"4b04ff53-0000-0200-0000-67cad4c70000"' expires: - '-1' pragma: @@ -889,7 +889,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: BBD8342C840E4832817F133BEBA36D06 Ref B: MAA201060515025 Ref C: 2025-03-07T09:46:47Z' + - 'Ref A: 3DD5513DBDD5436E80DB4966AFEDA96B Ref B: MAA201060515027 Ref C: 2025-03-07T11:13:43Z' status: code: 200 message: OK @@ -905,13 +905,13 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://402895d5-b527-4326-b71e-3cad60444d33.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Cron","cronExpression":"0 - 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger Cron","triggerId":"test-trigger-id-cron","description":"Test trigger - schedule cron","state":"Active","createdDateTime":"2025-03-07T09:46:46.942Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:46.942Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"Cron","cronExpression":"0 + 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron + Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule + for cron test case","state":"Active","createdDateTime":"2025-03-07T11:13:42.363Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:42.363Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -920,17 +920,17 @@ interactions: connection: - keep-alive content-length: - - '531' + - '535' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:49 GMT + - Fri, 07 Mar 2025 11:13:44 GMT mise-correlation-id: - - 055b1504-9ed1-4b0f-94c3-30bcfbe43cb7 + - e0d80b5f-698d-48d9-9342-df39520014cd strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094648Z-167c755789dnxcc2hC1SG19qas0000000tu000000000es5p + - 20250307T111344Z-167c755789d9flxvhC1SG1ucs40000000ugg000000005yc4 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml index b51a52d010b..9cd3286cbd0 100644 --- a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml @@ -14,18 +14,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.380357Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.380357Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"5723943a-29c6-4be6-90a6-5f8985f80885.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.3533343Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.3533343Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0bf0d97e-64f0-4fe7-aab4-0ab45cf3757d.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '663' + - '665' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:36 GMT + - Fri, 07 Mar 2025 11:13:26 GMT etag: - - '"4804b35a-0000-0200-0000-67cac06c0000"' + - '"4b047c54-0000-0200-0000-67cad4cc0000"' expires: - '-1' pragma: @@ -41,15 +41,15 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: AF6AB6AE54F64F5680E1D5C40B3D489D Ref B: MAA201060516021 Ref C: 2025-03-07T09:46:29Z' + - 'Ref A: 35B947EAF3E74CC6949DA03C7E8DE991 Ref B: MAA201060515033 Ref C: 2025-03-07T11:13:25Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-delete"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-31T23:59:59Z", - "state": "Active", "displayName": "Test Trigger", "description": "Test trigger - schedule"}' + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-07T11:12:41Z", + "state": "Active", "displayName": "Delete Trigger", "description": "Trigger + schedule for delete test case"}' headers: Accept: - application/json @@ -58,36 +58,37 @@ interactions: Connection: - keep-alive Content-Length: - - '247' + - '265' Content-Type: - application/merge-patch+json User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://5723943a-29c6-4be6-90a6-5f8985f80885.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://0bf0d97e-64f0-4fe7-aab4-0ab45cf3757d.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:37.91Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:37.91Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Delete + Trigger","triggerId":"test-trigger-id-delete","description":"Trigger schedule + for delete test case","state":"Active","createdDateTime":"2025-03-07T11:13:27.293Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:27.293Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '500' + - '527' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:38 GMT + - Fri, 07 Mar 2025 11:13:27 GMT location: - - https://5723943a-29c6-4be6-90a6-5f8985f80885.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + - https://0bf0d97e-64f0-4fe7-aab4-0ab45cf3757d.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview mise-correlation-id: - - 1c17aef2-d82d-4dfd-a2d8-9d7d38e5807c + - e51952cb-b93e-43e5-ae82-c8bef1f01867 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094637Z-167c755789d5kjvwhC1SG13h0s00000002ag0000000088as + - 20250307T111326Z-167c755789dt5nrlhC1SG184ss000000021000000000r3g2 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -110,18 +111,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.380357Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.380357Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"5723943a-29c6-4be6-90a6-5f8985f80885.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.3533343Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.3533343Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0bf0d97e-64f0-4fe7-aab4-0ab45cf3757d.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '663' + - '665' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:38 GMT + - Fri, 07 Mar 2025 11:13:28 GMT etag: - - '"4804b35a-0000-0200-0000-67cac06c0000"' + - '"4b047c54-0000-0200-0000-67cad4cc0000"' expires: - '-1' pragma: @@ -137,7 +138,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 3D55C9740F40476BBE95359EE7C8E69A Ref B: MAA201060514033 Ref C: 2025-03-07T09:46:38Z' + - 'Ref A: 0F94277F63254EE1A7F47207775AC14F Ref B: MAA201060514049 Ref C: 2025-03-07T11:13:27Z' status: code: 200 message: OK @@ -155,7 +156,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: DELETE - uri: https://5723943a-29c6-4be6-90a6-5f8985f80885.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://0bf0d97e-64f0-4fe7-aab4-0ab45cf3757d.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: string: '' @@ -165,13 +166,13 @@ interactions: connection: - keep-alive date: - - Fri, 07 Mar 2025 09:46:40 GMT + - Fri, 07 Mar 2025 11:13:29 GMT mise-correlation-id: - - 8d451088-c555-417f-b122-976b5186c1a0 + - 5cb098d5-c029-45b1-8a49-d822bdb4ce19 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094639Z-167c755789d68wvvhC1SG10mdg00000007tg00000000103n + - 20250307T111328Z-167c755789d5kjvwhC1SG13h0s00000002ag00000000wkh6 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -194,18 +195,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.380357Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.380357Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"5723943a-29c6-4be6-90a6-5f8985f80885.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.3533343Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.3533343Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0bf0d97e-64f0-4fe7-aab4-0ab45cf3757d.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '663' + - '665' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:41 GMT + - Fri, 07 Mar 2025 11:13:30 GMT etag: - - '"4804b35a-0000-0200-0000-67cac06c0000"' + - '"4b047c54-0000-0200-0000-67cad4cc0000"' expires: - '-1' pragma: @@ -221,7 +222,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 775FBCB8BE134164843A34A8B972BD89 Ref B: MAA201060513033 Ref C: 2025-03-07T09:46:40Z' + - 'Ref A: 8F4E30AB58CB4F18B55D39D97C2123B5 Ref B: MAA201060514033 Ref C: 2025-03-07T11:13:29Z' status: code: 200 message: OK @@ -237,7 +238,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://5723943a-29c6-4be6-90a6-5f8985f80885.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://0bf0d97e-64f0-4fe7-aab4-0ab45cf3757d.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: string: '{"value":[]}' @@ -253,13 +254,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:42 GMT + - Fri, 07 Mar 2025 11:13:31 GMT mise-correlation-id: - - 9e6ea799-24ea-4d03-836e-33cd8231b652 + - 5b78dea8-d110-464f-a430-2d88c7f27bff strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094641Z-167c755789drsd6jhC1SG13zv40000000u9000000000r6fk + - 20250307T111330Z-167c755789d68wvvhC1SG10mdg00000007tg00000000pk71 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml index 78007f69edb..5863b64c493 100644 --- a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.4461126Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.4461126Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.0806713Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.0806713Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:30 GMT + - Fri, 07 Mar 2025 11:13:24 GMT etag: - - '"4804df59-0000-0200-0000-67cac0660000"' + - '"4b041a54-0000-0200-0000-67cad4c90000"' expires: - '-1' pragma: @@ -41,15 +41,15 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: E884C62317104F87A0A019781C2C51C7 Ref B: MAA201060516025 Ref C: 2025-03-07T09:46:29Z' + - 'Ref A: C5A4B5654D524F7D94B84178349C2631 Ref B: MAA201060514017 Ref C: 2025-03-07T11:13:24Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-enable"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-31T23:59:59Z", - "state": "Active", "displayName": "Test Trigger", "description": "Test trigger - schedule"}' + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-07T11:12:42Z", + "state": "Active", "displayName": "Enable Trigger", "description": "Trigger + schedule for enable test case"}' headers: Accept: - application/json @@ -58,36 +58,37 @@ interactions: Connection: - keep-alive Content-Length: - - '247' + - '265' Content-Type: - application/merge-patch+json User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:31.919Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:31.919Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule + for enable test case","state":"Active","createdDateTime":"2025-03-07T11:13:26.531Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:26.531Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '502' + - '527' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:32 GMT + - Fri, 07 Mar 2025 11:13:26 GMT location: - - https://ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + - https://56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview mise-correlation-id: - - f1e09410-f2c5-4b2d-9695-1876594db688 + - f12c61db-d27b-4068-bf05-3caf8526ce17 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094631Z-167c755789dh5d2xhC1SG1c6dc0000000uhg00000000pcev + - 20250307T111325Z-167c755789dkxplchC1SG1rzhw0000000vhg00000000atss x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -110,7 +111,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.4461126Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.4461126Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.0806713Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.0806713Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -119,9 +120,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:32 GMT + - Fri, 07 Mar 2025 11:13:27 GMT etag: - - '"4804df59-0000-0200-0000-67cac0660000"' + - '"4b041a54-0000-0200-0000-67cad4c90000"' expires: - '-1' pragma: @@ -137,7 +138,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 60537FD05CA947CCB9F06B911BB4CF9D Ref B: MAA201060516039 Ref C: 2025-03-07T09:46:32Z' + - 'Ref A: 432835162D604F7C8A1C8DA2B4E2B289 Ref B: MAA201060515053 Ref C: 2025-03-07T11:13:26Z' status: code: 200 message: OK @@ -153,11 +154,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:31.919Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:31.919Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule + for enable test case","state":"Active","createdDateTime":"2025-03-07T11:13:26.531Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:26.531Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -166,17 +168,17 @@ interactions: connection: - keep-alive content-length: - - '502' + - '527' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:33 GMT + - Fri, 07 Mar 2025 11:13:28 GMT mise-correlation-id: - - 6cd9f440-7606-4421-933e-f588d4d5f338 + - da7458b2-e98c-4823-8aa8-761298a9e71b strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094633Z-167c755789d9f6qshC1SG1fkqn0000000vrg00000000mgpa + - 20250307T111327Z-167c755789dt5nrlhC1SG184ss000000023000000000f6zn x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -185,10 +187,10 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-31T23:59:59Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-07T11:12:42Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", - "displayName": "Test Trigger", "description": "Test trigger schedule", "state": - "Paused"}' + "displayName": "Enable Trigger", "description": "Trigger schedule for enable + test case", "state": "Paused"}' headers: Accept: - application/json @@ -197,17 +199,18 @@ interactions: Connection: - keep-alive Content-Length: - - '247' + - '265' Content-Type: - application/merge-patch+json User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Paused","createdDateTime":"2025-03-07T09:46:31.919Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:34.13Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule + for enable test case","state":"Paused","createdDateTime":"2025-03-07T11:13:26.531Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:28.704Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -216,17 +219,17 @@ interactions: connection: - keep-alive content-length: - - '479' + - '505' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:34 GMT + - Fri, 07 Mar 2025 11:13:28 GMT mise-correlation-id: - - 1fb6c72d-9a46-4537-b0b4-893888c0eb10 + - fe5c0acb-767e-420a-a696-7a6c46c47e47 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094633Z-167c755789d9f6qshC1SG1fkqn0000000vrg00000000mgrx + - 20250307T111328Z-167c755789dt5nrlhC1SG184ss000000023000000000f72k x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -249,7 +252,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.4461126Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.4461126Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.0806713Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.0806713Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -258,9 +261,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:34 GMT + - Fri, 07 Mar 2025 11:13:29 GMT etag: - - '"4804df59-0000-0200-0000-67cac0660000"' + - '"4b041a54-0000-0200-0000-67cad4c90000"' expires: - '-1' pragma: @@ -276,7 +279,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 1C44487D84AB4AB4873DC36131E6C257 Ref B: MAA201060514049 Ref C: 2025-03-07T09:46:34Z' + - 'Ref A: BD17A199C2C9467CA62288C02732E417 Ref B: MAA201060516009 Ref C: 2025-03-07T11:13:28Z' status: code: 200 message: OK @@ -292,11 +295,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Paused","createdDateTime":"2025-03-07T09:46:31.919Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:34.13Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule + for enable test case","state":"Paused","createdDateTime":"2025-03-07T11:13:26.531Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:28.704Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -305,17 +309,17 @@ interactions: connection: - keep-alive content-length: - - '479' + - '505' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:36 GMT + - Fri, 07 Mar 2025 11:13:30 GMT mise-correlation-id: - - 8bdd4396-afd2-435a-a760-0892fcbd2e04 + - 0eb0b002-58a4-4a6d-8b8e-b3f0c9c28fe8 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094635Z-167c755789d4xm2whC1SG1zvh00000000ua0000000006w92 + - 20250307T111330Z-167c755789dkxplchC1SG1rzhw0000000vg000000000eg8t x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -324,10 +328,10 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-31T23:59:59Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-07T11:12:42Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", - "displayName": "Test Trigger", "description": "Test trigger schedule", "state": - "Active"}' + "displayName": "Enable Trigger", "description": "Trigger schedule for enable + test case", "state": "Active"}' headers: Accept: - application/json @@ -336,17 +340,18 @@ interactions: Connection: - keep-alive Content-Length: - - '247' + - '265' Content-Type: - application/merge-patch+json User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:31.919Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:36.665Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule + for enable test case","state":"Active","createdDateTime":"2025-03-07T11:13:26.531Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:31.103Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -355,17 +360,17 @@ interactions: connection: - keep-alive content-length: - - '502' + - '527' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:36 GMT + - Fri, 07 Mar 2025 11:13:31 GMT mise-correlation-id: - - 9c67d445-d48f-4a28-84d1-980b2a168356 + - 756dfb73-162f-4e41-8ee0-bab722a8951d strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094636Z-167c755789d4xm2whC1SG1zvh00000000ua0000000006wbz + - 20250307T111330Z-167c755789dkxplchC1SG1rzhw0000000vg000000000egkv x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -388,7 +393,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.4461126Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.4461126Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.0806713Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.0806713Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -397,9 +402,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:37 GMT + - Fri, 07 Mar 2025 11:13:33 GMT etag: - - '"4804df59-0000-0200-0000-67cac0660000"' + - '"4b041a54-0000-0200-0000-67cad4c90000"' expires: - '-1' pragma: @@ -415,7 +420,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: A863D2CF5A5146B9982F53D2BDC0C361 Ref B: MAA201060516051 Ref C: 2025-03-07T09:46:36Z' + - 'Ref A: A3740F6F4F314E6BBB6B6A9B69C93150 Ref B: MAA201060513033 Ref C: 2025-03-07T11:13:31Z' status: code: 200 message: OK @@ -431,11 +436,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://ab5e8444-befd-4679-ab81-285ba03a7e2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:31.919Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:36.665Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule + for enable test case","state":"Active","createdDateTime":"2025-03-07T11:13:26.531Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:31.103Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -444,17 +450,17 @@ interactions: connection: - keep-alive content-length: - - '502' + - '527' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:38 GMT + - Fri, 07 Mar 2025 11:13:34 GMT mise-correlation-id: - - 6ead29e1-abf2-4c43-9c60-92ac73d13d41 + - 377f7fb1-aaa7-4c97-8d36-385c54539c0e strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094638Z-167c755789dt5nrlhC1SG184ss00000001w000000000pebk + - 20250307T111333Z-167c755789drsd6jhC1SG13zv40000000uh000000000ew0t x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml index 55983b823a4..d1b6d0430fa 100644 --- a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.6067146Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.6067146Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0030eb8b-71ab-46bd-8c5f-9a1a40c213e1.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:50.9665976Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:50.9665976Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"089e1350-c53c-4982-9aaa-2f3d8f4fc418.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:28 GMT + - Fri, 07 Mar 2025 11:13:24 GMT etag: - - '"4804055a-0000-0200-0000-67cac0670000"' + - '"4b041354-0000-0200-0000-67cad4c80000"' expires: - '-1' pragma: @@ -41,15 +41,15 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 3D14A8FE8F57433C8C3024CB35E0668A Ref B: MAA201060516053 Ref C: 2025-03-07T09:46:27Z' + - 'Ref A: 0BFBB949D327426C86FAA9EFB3A6A8F4 Ref B: MAA201060514033 Ref C: 2025-03-07T11:13:24Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-list"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-31T23:59:59Z", - "state": "Active", "displayName": "Test Trigger", "description": "Test trigger - schedule"}' + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-07T11:12:42Z", + "state": "Active", "displayName": "List Trigger", "description": "Trigger schedule + for list test case"}' headers: Accept: - application/json @@ -58,36 +58,37 @@ interactions: Connection: - keep-alive Content-Length: - - '245' + - '259' Content-Type: - application/merge-patch+json User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://0030eb8b-71ab-46bd-8c5f-9a1a40c213e1.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://089e1350-c53c-4982-9aaa-2f3d8f4fc418.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:29.994Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:29.994Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule + for list test case","state":"Active","createdDateTime":"2025-03-07T11:13:27.185Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:27.185Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '500' + - '519' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:30 GMT + - Fri, 07 Mar 2025 11:13:27 GMT location: - - https://0030eb8b-71ab-46bd-8c5f-9a1a40c213e1.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + - https://089e1350-c53c-4982-9aaa-2f3d8f4fc418.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview mise-correlation-id: - - 892b058e-8e38-49ab-a0b9-1e70f228c1cc + - b8a573ab-0220-47e8-b542-b5d8502c691b strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094629Z-167c755789d9flxvhC1SG1ucs40000000u8g00000000df2s + - 20250307T111325Z-167c755789d9flxvhC1SG1ucs40000000ugg000000005wp8 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -110,7 +111,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.6067146Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.6067146Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0030eb8b-71ab-46bd-8c5f-9a1a40c213e1.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:50.9665976Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:50.9665976Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"089e1350-c53c-4982-9aaa-2f3d8f4fc418.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -119,9 +120,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:36 GMT + - Fri, 07 Mar 2025 11:13:27 GMT etag: - - '"4804055a-0000-0200-0000-67cac0670000"' + - '"4b041354-0000-0200-0000-67cad4c80000"' expires: - '-1' pragma: @@ -137,7 +138,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: FDE1D62814D84C1B9F94CA24D16742BA Ref B: MAA201060515033 Ref C: 2025-03-07T09:46:30Z' + - 'Ref A: 4652F648D34A4FAF84F703450A253EAD Ref B: MAA201060514017 Ref C: 2025-03-07T11:13:27Z' status: code: 200 message: OK @@ -153,11 +154,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://0030eb8b-71ab-46bd-8c5f-9a1a40c213e1.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://089e1350-c53c-4982-9aaa-2f3d8f4fc418.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: - string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:29.994Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:29.994Z","lastModifiedBy":"hbisht@microsoft.com"}]}' + string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule + for list test case","state":"Active","createdDateTime":"2025-03-07T11:13:27.185Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:27.185Z","lastModifiedBy":"hbisht@microsoft.com"}]}' headers: accept-ranges: - bytes @@ -166,17 +168,17 @@ interactions: connection: - keep-alive content-length: - - '512' + - '531' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:37 GMT + - Fri, 07 Mar 2025 11:13:29 GMT mise-correlation-id: - - 2254755a-455f-402b-ab53-f9daca09739e + - 2a8d7f2f-2143-460e-8058-d53c4cddd330 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094636Z-167c755789d9f6qshC1SG1fkqn0000000vs000000000hgd8 + - 20250307T111328Z-167c755789d9f6qshC1SG1fkqn0000000w00000000009nq9 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml index ab15a4deb41..7b3e85530c4 100644 --- a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.7640763Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.7640763Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.9455003Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.9455003Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:40 GMT + - Fri, 07 Mar 2025 11:13:24 GMT etag: - - '"4804e259-0000-0200-0000-67cac0670000"' + - '"4b041554-0000-0200-0000-67cad4c80000"' expires: - '-1' pragma: @@ -41,15 +41,15 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 821E6CA57C9F49749786B19308C0F8DE Ref B: MAA201060516025 Ref C: 2025-03-07T09:46:40Z' + - 'Ref A: 02FE02DD1ACC4AFE97207E6E16DFF1D8 Ref B: MAA201060516053 Ref C: 2025-03-07T11:13:23Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-pause"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-31T23:59:59Z", - "state": "Active", "displayName": "Test Trigger", "description": "Test trigger - schedule"}' + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-07T11:12:42Z", + "state": "Active", "displayName": "Pause Trigger", "description": "Trigger schedule + for pause test case"}' headers: Accept: - application/json @@ -58,36 +58,37 @@ interactions: Connection: - keep-alive Content-Length: - - '246' + - '262' Content-Type: - application/merge-patch+json User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:42.085Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:42.085Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule + for pause test case","state":"Active","createdDateTime":"2025-03-07T11:13:25.9Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:25.9Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '501' + - '519' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:42 GMT + - Fri, 07 Mar 2025 11:13:26 GMT location: - - https://f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + - https://97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview mise-correlation-id: - - d1953f2d-e5d8-40bc-93ff-76db063c71c9 + - ce296591-9e6c-4835-93eb-5e12eaa9087d strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094641Z-167c755789dkxplchC1SG1rzhw0000000v9000000000ng2d + - 20250307T111325Z-167c755789dpdc6bhC1SG15uyn0000000rxg00000000rak9 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -110,7 +111,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.7640763Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.7640763Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.9455003Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.9455003Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -119,9 +120,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:43 GMT + - Fri, 07 Mar 2025 11:13:27 GMT etag: - - '"4804e259-0000-0200-0000-67cac0670000"' + - '"4b041554-0000-0200-0000-67cad4c80000"' expires: - '-1' pragma: @@ -137,7 +138,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: AA099F2045BC416EB20BC8134A9DA330 Ref B: MAA201060515029 Ref C: 2025-03-07T09:46:42Z' + - 'Ref A: 1621F64D289C4536B0BF794AD4A920F6 Ref B: MAA201060514031 Ref C: 2025-03-07T11:13:26Z' status: code: 200 message: OK @@ -153,11 +154,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Active","createdDateTime":"2025-03-07T09:46:42.085Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:42.085Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule + for pause test case","state":"Active","createdDateTime":"2025-03-07T11:13:25.9Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:25.9Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -166,17 +168,17 @@ interactions: connection: - keep-alive content-length: - - '501' + - '519' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:47 GMT + - Fri, 07 Mar 2025 11:13:27 GMT mise-correlation-id: - - df69a73f-56a5-455f-92a3-3be64d49d9e4 + - 009bffa5-30fe-4005-9914-7d7004122095 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094647Z-167c755789dpktj6hC1SG1nr680000000vd000000000uxfs + - 20250307T111327Z-167c755789dbhjzdhC1SG1t7h80000000v4g00000000s4q0 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -185,10 +187,10 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-31T23:59:59Z", + body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-07T11:12:42Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", - "displayName": "Test Trigger", "description": "Test trigger schedule", "state": - "Paused"}' + "displayName": "Pause Trigger", "description": "Trigger schedule for pause test + case", "state": "Paused"}' headers: Accept: - application/json @@ -197,17 +199,18 @@ interactions: Connection: - keep-alive Content-Length: - - '246' + - '262' Content-Type: - application/merge-patch+json User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Paused","createdDateTime":"2025-03-07T09:46:42.085Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:48.089Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule + for pause test case","state":"Paused","createdDateTime":"2025-03-07T11:13:25.9Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:28.15Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -216,17 +219,17 @@ interactions: connection: - keep-alive content-length: - - '479' + - '498' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:48 GMT + - Fri, 07 Mar 2025 11:13:28 GMT mise-correlation-id: - - 8545a126-eadb-4be8-a39a-e890ce652f38 + - 9367ee2c-10f7-4638-b3cd-7017700772ab strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094647Z-167c755789dpktj6hC1SG1nr680000000vd000000000uxq0 + - 20250307T111327Z-167c755789dbhjzdhC1SG1t7h80000000v4g00000000s4s6 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -249,7 +252,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:53.7640763Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:53.7640763Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.9455003Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.9455003Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -258,9 +261,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:49 GMT + - Fri, 07 Mar 2025 11:13:28 GMT etag: - - '"4804e259-0000-0200-0000-67cac0670000"' + - '"4b041554-0000-0200-0000-67cad4c80000"' expires: - '-1' pragma: @@ -276,7 +279,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 531AD6CC6CD44821BDCA90A1BD87D792 Ref B: MAA201060515031 Ref C: 2025-03-07T09:46:48Z' + - 'Ref A: 5701251271494F588A47C3A2C377A94E Ref B: MAA201060513051 Ref C: 2025-03-07T11:13:28Z' status: code: 200 message: OK @@ -292,11 +295,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://f546202f-56f1-4dd0-90be-9f75abc33231.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Test - Trigger","triggerId":"test-trigger-id","description":"Test trigger schedule","state":"Paused","createdDateTime":"2025-03-07T09:46:42.085Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:48.089Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule + for pause test case","state":"Paused","createdDateTime":"2025-03-07T11:13:25.9Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:28.15Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -305,17 +309,17 @@ interactions: connection: - keep-alive content-length: - - '479' + - '498' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:50 GMT + - Fri, 07 Mar 2025 11:13:29 GMT mise-correlation-id: - - 22e78edc-732d-4ae8-bf16-0151d029d6d1 + - 1a130510-d3b1-4780-bcde-fcf3c18316fb strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094649Z-167c755789d68wvvhC1SG10mdg00000007kg00000000w1q8 + - 20250307T111329Z-167c755789dmttfthC1SG1see40000000tug000000002783 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml index ba1c5de1649..e784270ed30 100644 --- a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.6110328Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.6110328Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"c5d4c3c0-bd96-497d-ab6d-34fe2c803e7b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.0269715Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.0269715Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"e9251b81-27ea-476d-be0e-afd5fe689fb0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:29 GMT + - Fri, 07 Mar 2025 11:13:25 GMT etag: - - '"4804395a-0000-0200-0000-67cac0680000"' + - '"4b043f54-0000-0200-0000-67cad4cb0000"' expires: - '-1' pragma: @@ -41,15 +41,15 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: F3735BA0C089479E81FE7EEBEB7CCA22 Ref B: MAA201060514033 Ref C: 2025-03-07T09:46:29Z' + - 'Ref A: A2B289574FDE4A6E8EEE90D57BA838B9 Ref B: MAA201060516025 Ref C: 2025-03-07T11:13:25Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-31T23:59:59Z", - "state": "Active", "displayName": "Initial Display Name", "description": "Initial - description"}' + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-07T11:12:42Z", + "state": "Active", "displayName": "Update Trigger", "description": "Trigger + schedule for update test case"}' headers: Accept: - application/json @@ -58,36 +58,37 @@ interactions: Connection: - keep-alive Content-Length: - - '253' + - '265' Content-Type: - application/merge-patch+json User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://c5d4c3c0-bd96-497d-ab6d-34fe2c803e7b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://e9251b81-27ea-476d-be0e-afd5fe689fb0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Initial - Display Name","triggerId":"test-trigger-id","description":"Initial description","state":"Active","createdDateTime":"2025-03-07T09:46:30.848Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:30.848Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule + for update test case","state":"Active","createdDateTime":"2025-03-07T11:13:26.426Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:26.426Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '508' + - '527' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:30 GMT + - Fri, 07 Mar 2025 11:13:26 GMT location: - - https://c5d4c3c0-bd96-497d-ab6d-34fe2c803e7b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + - https://e9251b81-27ea-476d-be0e-afd5fe689fb0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview mise-correlation-id: - - 03e05274-895d-4b24-b503-56b5cce99efb + - 9e363211-eeb3-4ae6-b790-bc79f126ad1a strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094630Z-167c755789dpdc6bhC1SG15uyn0000000rxg000000005ktn + - 20250307T111325Z-167c755789dh5d2xhC1SG1c6dc0000000utg00000000cbvu x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -110,7 +111,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T09:45:54.6110328Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T09:45:54.6110328Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"c5d4c3c0-bd96-497d-ab6d-34fe2c803e7b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.0269715Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.0269715Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"e9251b81-27ea-476d-be0e-afd5fe689fb0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -119,9 +120,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:31 GMT + - Fri, 07 Mar 2025 11:13:26 GMT etag: - - '"4804395a-0000-0200-0000-67cac0680000"' + - '"4b043f54-0000-0200-0000-67cad4cb0000"' expires: - '-1' pragma: @@ -137,7 +138,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 3FD5D3AD9ED342DC9C403F8A5ACB8C03 Ref B: MAA201060513049 Ref C: 2025-03-07T09:46:31Z' + - 'Ref A: 25B797D37683458DA7976CCB6EAE51DA Ref B: MAA201060516039 Ref C: 2025-03-07T11:13:26Z' status: code: 200 message: OK @@ -153,11 +154,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://c5d4c3c0-bd96-497d-ab6d-34fe2c803e7b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://e9251b81-27ea-476d-be0e-afd5fe689fb0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-31T23:59:59Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-31T23:59:59Z"]},"kind":"ScheduleTestsTrigger","displayName":"Initial - Display Name","triggerId":"test-trigger-id","description":"Initial description","state":"Active","createdDateTime":"2025-03-07T09:46:30.848Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:30.848Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule + for update test case","state":"Active","createdDateTime":"2025-03-07T11:13:26.426Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:26.426Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -166,17 +168,17 @@ interactions: connection: - keep-alive content-length: - - '508' + - '527' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:33 GMT + - Fri, 07 Mar 2025 11:13:27 GMT mise-correlation-id: - - 86b69025-682a-49e4-9e76-64d2f2ad0c78 + - dafe59f4-f6f5-44dd-bfa4-876e313d57e3 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094632Z-167c755789dkxplchC1SG1rzhw0000000v9g00000000mze4 + - 20250307T111327Z-167c755789d4xm2whC1SG1zvh00000000ua000000000sb46 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -203,12 +205,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://c5d4c3c0-bd96-497d-ab6d-34fe2c803e7b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id?api-version=2024-12-01-preview + uri: https://e9251b81-27ea-476d-be0e-afd5fe689fb0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: string: '{"testIds":["test-id-update"],"startDateTime":"2025-04-01T00:00:00Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":2},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-14T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Updated - Test Trigger","triggerId":"test-trigger-id","description":"Updated test trigger - schedule","createdDateTime":"2025-03-07T09:46:30.848Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T09:46:33.303Z","lastModifiedBy":"hbisht@microsoft.com"}' + Test Trigger","triggerId":"test-trigger-id-update","description":"Updated + test trigger schedule","createdDateTime":"2025-03-07T11:13:26.426Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:28.182Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -217,17 +219,17 @@ interactions: connection: - keep-alive content-length: - - '526' + - '533' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 09:46:33 GMT + - Fri, 07 Mar 2025 11:13:28 GMT mise-correlation-id: - - 5daabfd7-d76a-426b-bb86-13e3c5bf0190 + - 343ce391-d60a-4a27-b4ad-b01ab34c0709 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T094633Z-167c755789dkxplchC1SG1rzhw0000000v9g00000000mzh1 + - 20250307T111328Z-167c755789d4xm2whC1SG1zvh00000000ua000000000sb5v x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/test_load_trigger_schedule.py b/src/load/azext_load/tests/latest/test_load_trigger_schedule.py index e7bf9e38a16..564ac18fd2b 100644 --- a/src/load/azext_load/tests/latest/test_load_trigger_schedule.py +++ b/src/load/azext_load/tests/latest/test_load_trigger_schedule.py @@ -2,7 +2,7 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -from azext_load.tests.latest.constants import LoadTestConstants +from azext_load.tests.latest.constants import LoadTestTriggerConstants from azext_load.tests.latest.preparers import LoadTestResourcePreparer from azure.cli.testsdk import ( JMESPathCheck, @@ -101,134 +101,134 @@ def verify_trigger_schedule(self, trigger_id, description, display_name, start_d def test_create_and_verify_trigger_schedules(self, rg, load): # Test Daily Recurrence self.create_trigger_schedule( - trigger_id="test-trigger-id-daily", - description="Test trigger schedule daily", - display_name="Test Trigger Daily", - start_date_time="2025-03-31T23:59:59Z", - recurrence_type="Daily", - recurrence_interval=1, - test_ids="test-id-daily" + trigger_id=LoadTestTriggerConstants.DAILY_TRIGGER_ID, + description=LoadTestTriggerConstants.DAILY_DESCRIPTION, + display_name=LoadTestTriggerConstants.DAILY_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.DAILY_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.DAILY_RECURRENCE_INTERVAL, + test_ids=LoadTestTriggerConstants.DAILY_TEST_IDS ) self.verify_trigger_schedule( - trigger_id="test-trigger-id-daily", - description="Test trigger schedule daily", - display_name="Test Trigger Daily", - start_date_time="2025-03-31T23:59:59Z", - recurrence_type="Daily", - recurrence_interval=1, - test_ids="test-id-daily" + trigger_id=LoadTestTriggerConstants.DAILY_TRIGGER_ID, + description=LoadTestTriggerConstants.DAILY_DESCRIPTION, + display_name=LoadTestTriggerConstants.DAILY_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.DAILY_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.DAILY_RECURRENCE_INTERVAL, + test_ids=LoadTestTriggerConstants.DAILY_TEST_IDS ) # Test Weekly Recurrence self.create_trigger_schedule( - trigger_id="test-trigger-id-weekly", - description="Test trigger schedule weekly", - display_name="Test Trigger Weekly", - start_date_time="2025-03-31T23:59:59Z", - recurrence_type="Weekly", - recurrence_interval=1, - recurrence_week_days="Monday Tuesday", - test_ids="test-id-weekly" + trigger_id=LoadTestTriggerConstants.WEEKLY_TRIGGER_ID, + description=LoadTestTriggerConstants.WEEKLY_DESCRIPTION, + display_name=LoadTestTriggerConstants.WEEKLY_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.WEEKLY_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.WEEKLY_RECURRENCE_INTERVAL, + recurrence_week_days=LoadTestTriggerConstants.WEEKLY_RECURRENCE_DAYS, + test_ids=LoadTestTriggerConstants.WEEKLY_TEST_IDS ) self.verify_trigger_schedule( - trigger_id="test-trigger-id-weekly", - description="Test trigger schedule weekly", - display_name="Test Trigger Weekly", - start_date_time="2025-03-31T23:59:59Z", - recurrence_type="Weekly", - recurrence_interval=1, - recurrence_week_days="Monday Tuesday", - test_ids="test-id-weekly" + trigger_id=LoadTestTriggerConstants.WEEKLY_TRIGGER_ID, + description=LoadTestTriggerConstants.WEEKLY_DESCRIPTION, + display_name=LoadTestTriggerConstants.WEEKLY_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.WEEKLY_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.WEEKLY_RECURRENCE_INTERVAL, + recurrence_week_days=LoadTestTriggerConstants.WEEKLY_RECURRENCE_DAYS, + test_ids=LoadTestTriggerConstants.WEEKLY_TEST_IDS ) # Test Monthly By Dates Recurrence self.create_trigger_schedule( - trigger_id="test-trigger-id-monthly-dates", - description="Test trigger schedule monthly by dates", - display_name="Test Trigger Monthly By Dates", - start_date_time="2025-03-31T23:59:59Z", - recurrence_type="MonthlyByDates", - recurrence_interval=1, - recurrence_dates_in_month="1 15", - test_ids="test-id-monthly-dates" + trigger_id=LoadTestTriggerConstants.MONTHLY_DATES_TRIGGER_ID, + description=LoadTestTriggerConstants.MONTHLY_DATES_DESCRIPTION, + display_name=LoadTestTriggerConstants.MONTHLY_DATES_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_INTERVAL, + recurrence_dates_in_month=LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_DATES_IN_MONTH, + test_ids=LoadTestTriggerConstants.MONTHLY_DATES_TEST_IDS ) self.verify_trigger_schedule( - trigger_id="test-trigger-id-monthly-dates", - description="Test trigger schedule monthly by dates", - display_name="Test Trigger Monthly By Dates", - start_date_time="2025-03-31T23:59:59Z", - recurrence_type="MonthlyByDates", - recurrence_interval=1, - recurrence_dates_in_month="1 15", - test_ids="test-id-monthly-dates" + trigger_id=LoadTestTriggerConstants.MONTHLY_DATES_TRIGGER_ID, + description=LoadTestTriggerConstants.MONTHLY_DATES_DESCRIPTION, + display_name=LoadTestTriggerConstants.MONTHLY_DATES_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_INTERVAL, + recurrence_dates_in_month=LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_DATES_IN_MONTH, + test_ids=LoadTestTriggerConstants.MONTHLY_DATES_TEST_IDS ) # Test Monthly By Days Recurrence self.create_trigger_schedule( - trigger_id="test-trigger-id-monthly-days", - description="Test trigger schedule monthly by days", - display_name="Test Trigger Monthly By Days", - start_date_time="2025-03-31T23:59:59Z", - recurrence_type="MonthlyByDays", - recurrence_interval=1, - recurrence_week_days="Monday", - recurrence_index=1, - test_ids="test-id-monthly-days" + trigger_id=LoadTestTriggerConstants.MONTHLY_DAYS_TRIGGER_ID, + description=LoadTestTriggerConstants.MONTHLY_DAYS_DESCRIPTION, + display_name=LoadTestTriggerConstants.MONTHLY_DAYS_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_INTERVAL, + recurrence_week_days=LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_WEEK_DAYS, + recurrence_index=LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_INDEX, + test_ids=LoadTestTriggerConstants.MONTHLY_DAYS_TEST_IDS ) self.verify_trigger_schedule( - trigger_id="test-trigger-id-monthly-days", - description="Test trigger schedule monthly by days", - display_name="Test Trigger Monthly By Days", - start_date_time="2025-03-31T23:59:59Z", - recurrence_type="MonthlyByDays", - recurrence_interval=1, - recurrence_week_days="Monday", - recurrence_index=1, - test_ids="test-id-monthly-days" + trigger_id=LoadTestTriggerConstants.MONTHLY_DAYS_TRIGGER_ID, + description=LoadTestTriggerConstants.MONTHLY_DAYS_DESCRIPTION, + display_name=LoadTestTriggerConstants.MONTHLY_DAYS_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_INTERVAL, + recurrence_week_days=LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_WEEK_DAYS, + recurrence_index=LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_INDEX, + test_ids=LoadTestTriggerConstants.MONTHLY_DAYS_TEST_IDS ) # Test Cron Recurrence self.create_trigger_schedule( - trigger_id="test-trigger-id-cron", - description="Test trigger schedule cron", - display_name="Test Trigger Cron", - start_date_time="2025-03-31T23:59:59Z", - recurrence_type="Cron", - recurrence_cron_expression="0 0 12 * *", - test_ids="test-id-cron" + trigger_id=LoadTestTriggerConstants.CRON_TRIGGER_ID, + description=LoadTestTriggerConstants.CRON_DESCRIPTION, + display_name=LoadTestTriggerConstants.CRON_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.CRON_RECURRENCE_TYPE, + recurrence_cron_expression=LoadTestTriggerConstants.CRON_RECURRENCE_CRON_EXPRESSION, + test_ids=LoadTestTriggerConstants.CRON_TEST_IDS ) self.verify_trigger_schedule( - trigger_id="test-trigger-id-cron", - description="Test trigger schedule cron", - display_name="Test Trigger Cron", - start_date_time="2025-03-31T23:59:59Z", - recurrence_type="Cron", - recurrence_cron_expression="0 0 12 * *", - test_ids="test-id-cron" + trigger_id=LoadTestTriggerConstants.CRON_TRIGGER_ID, + description=LoadTestTriggerConstants.CRON_DESCRIPTION, + display_name=LoadTestTriggerConstants.CRON_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.CRON_RECURRENCE_TYPE, + recurrence_cron_expression=LoadTestTriggerConstants.CRON_RECURRENCE_CRON_EXPRESSION, + test_ids=LoadTestTriggerConstants.CRON_TEST_IDS ) @ResourceGroupPreparer(**rg_params) @LoadTestResourcePreparer(**load_params) def test_update_trigger_schedule(self, rg, load): self.create_trigger_schedule( - trigger_id="test-trigger-id", - description="Initial description", - display_name="Initial Display Name", - start_date_time="2025-03-31T23:59:59Z", - recurrence_type="Daily", - recurrence_interval=1, - test_ids="test-id-update" + trigger_id=LoadTestTriggerConstants.UPDATE_TRIGGER_ID, + description=LoadTestTriggerConstants.UPDATE_DESCRIPTION, + display_name=LoadTestTriggerConstants.UPDATE_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.DAILY_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.RECURRENCE_INTERVAL_ONE, + test_ids=LoadTestTriggerConstants.UPDATE_TEST_IDS ) self.kwargs.update({ - "trigger_id": "test-trigger-id", + "trigger_id": LoadTestTriggerConstants.UPDATE_TRIGGER_ID, "description": "Updated test trigger schedule", "display_name": "Updated Test Trigger", "start_date_time": "2025-04-01T00:00:00Z", "recurrence_type": "Weekly", "recurrence_interval": 2, "recurrence_week_days": "Monday", - "test_ids": "test-id-update" + "test_ids": LoadTestTriggerConstants.UPDATE_TEST_IDS }) checks = [ @@ -260,22 +260,22 @@ def test_update_trigger_schedule(self, rg, load): @LoadTestResourcePreparer(**load_params) def test_list_trigger_schedules(self, rg, load): self.create_trigger_schedule( - trigger_id="test-trigger-id", - description="Test trigger schedule", - display_name="Test Trigger", - start_date_time="2025-03-31T23:59:59Z", - recurrence_type="Daily", - recurrence_interval=1, - test_ids="test-id-list" + trigger_id=LoadTestTriggerConstants.LIST_TRIGGER_ID, + description=LoadTestTriggerConstants.LIST_DESCRIPTION, + display_name=LoadTestTriggerConstants.LIST_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.DAILY_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.RECURRENCE_INTERVAL_ONE, + test_ids=LoadTestTriggerConstants.LIST_TEST_IDS ) self.kwargs.update({ - "description": "Test trigger schedule", - "display_name": "Test Trigger", - "start_date_time": "2025-03-31T23:59:59Z", - "recurrence_type": "Daily", - "recurrence_interval": 1, - "test_ids": "test-id-list" + "description": LoadTestTriggerConstants.LIST_DESCRIPTION, + "display_name": LoadTestTriggerConstants.LIST_DISPLAY_NAME, + "start_date_time": LoadTestTriggerConstants.CURRENT_DATE_TIME, + "recurrence_type": LoadTestTriggerConstants.DAILY_RECURRENCE_TYPE, + "recurrence_interval": LoadTestTriggerConstants.RECURRENCE_INTERVAL_ONE, + "test_ids": LoadTestTriggerConstants.LIST_TEST_IDS }) checks = [ @@ -299,20 +299,19 @@ def test_list_trigger_schedules(self, rg, load): @LoadTestResourcePreparer(**load_params) def test_delete_trigger_schedule(self, rg, load): self.create_trigger_schedule( - trigger_id="test-trigger-id", - description="Test trigger schedule", - display_name="Test Trigger", - start_date_time="2025-03-31T23:59:59Z", - recurrence_type="Daily", - recurrence_interval=1, - test_ids="test-id-delete" + trigger_id=LoadTestTriggerConstants.DELETE_TRIGGER_ID, + description=LoadTestTriggerConstants.DELETE_DESCRIPTION, + display_name=LoadTestTriggerConstants.DELETE_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.DAILY_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.RECURRENCE_INTERVAL_ONE, + test_ids=LoadTestTriggerConstants.DELETE_TEST_IDS ) self.kwargs.update({ - "trigger_id": "test-trigger-id" + "trigger_id": LoadTestTriggerConstants.DELETE_TRIGGER_ID }) - # Delete the trigger schedule self.cmd( 'az load trigger schedule delete ' @@ -337,17 +336,17 @@ def test_delete_trigger_schedule(self, rg, load): @LoadTestResourcePreparer(**load_params) def test_pause_trigger_schedule(self, rg, load): self.create_trigger_schedule( - trigger_id="test-trigger-id", - description="Test trigger schedule", - display_name="Test Trigger", - start_date_time="2025-03-31T23:59:59Z", - recurrence_type="Daily", - recurrence_interval=1, - test_ids="test-id-pause" + trigger_id=LoadTestTriggerConstants.PAUSE_TRIGGER_ID, + description=LoadTestTriggerConstants.PAUSE_DESCRIPTION, + display_name=LoadTestTriggerConstants.PAUSE_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.DAILY_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.RECURRENCE_INTERVAL_ONE, + test_ids=LoadTestTriggerConstants.PAUSE_TEST_IDS ) self.kwargs.update({ - "trigger_id": "test-trigger-id" + "trigger_id": LoadTestTriggerConstants.PAUSE_TRIGGER_ID }) # Pause the trigger schedule @@ -374,17 +373,17 @@ def test_pause_trigger_schedule(self, rg, load): @LoadTestResourcePreparer(**load_params) def test_enable_trigger_schedule(self, rg, load): self.create_trigger_schedule( - trigger_id="test-trigger-id", - description="Test trigger schedule", - display_name="Test Trigger", - start_date_time="2025-03-31T23:59:59Z", - recurrence_type="Daily", - recurrence_interval=1, - test_ids="test-id-enable" + trigger_id=LoadTestTriggerConstants.ENABLE_TRIGGER_ID, + description=LoadTestTriggerConstants.ENABLE_DESCRIPTION, + display_name=LoadTestTriggerConstants.ENABLE_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.DAILY_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.RECURRENCE_INTERVAL_ONE, + test_ids=LoadTestTriggerConstants.ENABLE_TEST_IDS ) self.kwargs.update({ - "trigger_id": "test-trigger-id" + "trigger_id": LoadTestTriggerConstants.ENABLE_TRIGGER_ID }) # Pause the trigger schedule From fdf4af24ed348d9e67c583cad8a85dd2d47a0e9d Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Sun, 9 Mar 2025 10:36:53 +0000 Subject: [PATCH 06/16] Optimizing utils and addressing PR comments --- .../data_plane/load_trigger/utils.py | 270 ++++++++---------- 1 file changed, 126 insertions(+), 144 deletions(-) diff --git a/src/load/azext_load/data_plane/load_trigger/utils.py b/src/load/azext_load/data_plane/load_trigger/utils.py index 1ad9ef36d6d..2c7c6a90de1 100644 --- a/src/load/azext_load/data_plane/load_trigger/utils.py +++ b/src/load/azext_load/data_plane/load_trigger/utils.py @@ -7,7 +7,7 @@ from azext_load.vendored_sdks.loadtesting.models import _models as models from azext_load.vendored_sdks.loadtesting.models import _enums as enums from knack.log import get_logger -from azure.cli.core.azclierror import InvalidArgumentValueError, FileOperationError +from azure.cli.core.azclierror import InvalidArgumentValueError logger = get_logger(__name__) @@ -30,159 +30,113 @@ def get_recurrence_end_body(end_after_occurrence, end_after_date_time, existing_ return existing_recurrence_end -def get_recurrence_body( - recurrence_type, - recurrence_interval, - recurrence_index, - recurrence_cron_expression, - recurrence_dates_in_month, - recurrence_week_days, - recurrence_end_body, -): - validate_recurrence_input(recurrence_type, - recurrence_interval, - recurrence_index, - recurrence_cron_expression, - recurrence_dates_in_month, - recurrence_week_days) +def handle_daily_recurrence(recurrence_interval, recurrence_end_body, **kwargs): + if recurrence_interval is None: + raise InvalidArgumentValueError("Recurrence interval is required for daily recurrence.") + if any(kwargs.values()): + raise InvalidArgumentValueError("Only recurrence interval should be provided for daily recurrence.") + return models.DailyRecurrence( + interval=recurrence_interval, + recurrence_end=recurrence_end_body + ) - if recurrence_type == enums.Frequency.DAILY: - return models.DailyRecurrence( - interval=recurrence_interval, - recurrence_end=recurrence_end_body - ) - elif recurrence_type == enums.Frequency.WEEKLY: - return models.WeeklyRecurrence( - interval=recurrence_interval, - days_of_week=recurrence_week_days, - recurrence_end=recurrence_end_body - ) - elif recurrence_type == enums.Frequency.HOURLY: - return models.HourlyRecurrence( - interval=recurrence_interval, - recurrence_end=recurrence_end_body - ) - elif recurrence_type == enums.Frequency.MONTHLY_BY_DATES: - return models.MonthlyRecurrenceByDates( - interval=recurrence_interval, - dates_in_month=recurrence_dates_in_month, - recurrence_end=recurrence_end_body - ) - elif recurrence_type == enums.Frequency.MONTHLY_BY_DAYS: - return models.MonthlyRecurrenceByWeekDays( - interval=recurrence_interval, - week_days_in_month=recurrence_week_days, - index=recurrence_index, - recurrence_end=recurrence_end_body - ) - elif recurrence_type == enums.Frequency.CRON: - return models.RecurrenceWithCron( - cron_expression=recurrence_cron_expression, - recurrence_end=recurrence_end_body - ) - else: - return None +def handle_weekly_recurrence(recurrence_interval, recurrence_week_days, recurrence_end_body, **kwargs): + if recurrence_interval is None: + raise InvalidArgumentValueError("Recurrence interval is required for weekly recurrence.") + if recurrence_week_days is None or len(recurrence_week_days) == 0: + raise InvalidArgumentValueError("Recurrence week days are required for weekly recurrence.") + if any(kwargs.values()): + raise InvalidArgumentValueError("Only recurrence interval and week days should be provided for weekly recurrence.") + return models.WeeklyRecurrence( + interval=recurrence_interval, + days_of_week=recurrence_week_days, + recurrence_end=recurrence_end_body + ) + +def handle_hourly_recurrence(recurrence_interval, recurrence_end_body, **kwargs): + if recurrence_interval is None: + raise InvalidArgumentValueError("Recurrence interval is required for hourly recurrence.") + if any(kwargs.values()): + raise InvalidArgumentValueError("Only recurrence interval should be provided for hourly recurrence.") + return models.HourlyRecurrence( + interval=recurrence_interval, + recurrence_end=recurrence_end_body + ) +def handle_monthly_by_dates_recurrence(recurrence_interval, recurrence_dates_in_month, recurrence_end_body, **kwargs): + if recurrence_interval is None: + raise InvalidArgumentValueError("Recurrence interval is required for monthly by dates recurrence.") + if recurrence_dates_in_month is None or len(recurrence_dates_in_month) == 0: + raise InvalidArgumentValueError("Recurrence dates in month are required for monthly by dates recurrence.") + if any(kwargs.values()): + raise InvalidArgumentValueError("Only recurrence interval and dates in month should be provided for monthly by dates recurrence.") + return models.MonthlyRecurrenceByDates( + interval=recurrence_interval, + dates_in_month=recurrence_dates_in_month, + recurrence_end=recurrence_end_body + ) -def validate_recurrence_input( +def handle_monthly_by_days_recurrence(recurrence_interval, recurrence_week_days, recurrence_index, recurrence_end_body, **kwargs): + if recurrence_interval is None: + raise InvalidArgumentValueError("Recurrence interval is required for monthly by days recurrence.") + if recurrence_week_days is None or len(recurrence_week_days) == 0: + raise InvalidArgumentValueError("Recurrence week days are required for monthly by days recurrence.") + if recurrence_index not in range(1, 6): + raise InvalidArgumentValueError("Recurrence index should be between 1 and 5 for monthly by days recurrence.") + if any(kwargs.values()): + raise InvalidArgumentValueError("Only recurrence interval, week days, and index should be provided for monthly by days recurrence.") + return models.MonthlyRecurrenceByWeekDays( + interval=recurrence_interval, + week_days_in_month=recurrence_week_days, + index=recurrence_index, + recurrence_end=recurrence_end_body + ) + +def handle_cron_recurrence(recurrence_cron_expression, recurrence_end_body, **kwargs): + if recurrence_cron_expression is None: + raise InvalidArgumentValueError("Recurrence cron expression is required for cron recurrence.") + if any(kwargs.values()): + raise InvalidArgumentValueError("Only recurrence cron expression should be provided for cron recurrence.") + return models.RecurrenceWithCron( + cron_expression=recurrence_cron_expression, + recurrence_end=recurrence_end_body + ) + +recurrence_handlers = { + enums.Frequency.DAILY: handle_daily_recurrence, + enums.Frequency.WEEKLY: handle_weekly_recurrence, + enums.Frequency.HOURLY: handle_hourly_recurrence, + enums.Frequency.MONTHLY_BY_DATES: handle_monthly_by_dates_recurrence, + enums.Frequency.MONTHLY_BY_DAYS: handle_monthly_by_days_recurrence, + enums.Frequency.CRON: handle_cron_recurrence, +} + +def get_recurrence_body( recurrence_type, recurrence_interval, recurrence_index, recurrence_cron_expression, recurrence_dates_in_month, recurrence_week_days, + recurrence_end_body, ): if recurrence_type is None: if any([recurrence_interval, recurrence_index, recurrence_cron_expression, recurrence_dates_in_month, recurrence_week_days]): raise InvalidArgumentValueError("Recurrence type is required.") logger.debug("Recurrence type not provided. Treating it as one-time trigger.") - return - - if recurrence_type == enums.Frequency.DAILY: - if recurrence_interval is None: - raise InvalidArgumentValueError("Recurrence interval is required for daily recurrence.") - - # Ensure other arguments are not provided - if any([recurrence_index, recurrence_cron_expression, recurrence_dates_in_month, recurrence_week_days]): - raise InvalidArgumentValueError("Only recurrence interval should be provided for daily recurrence.") - - if recurrence_type == enums.Frequency.WEEKLY: - if recurrence_interval is None: - raise InvalidArgumentValueError("Recurrence interval is required for weekly recurrence.") - if recurrence_week_days is None or len(recurrence_week_days) == 0: - raise InvalidArgumentValueError("Recurrence week days are required for weekly recurrence.") - # Ensure other arguments are not provided - if any([recurrence_index, recurrence_cron_expression, recurrence_dates_in_month]): - raise InvalidArgumentValueError("Only recurrence interval and week days should be provided for weekly recurrence.") - - if recurrence_type == enums.Frequency.HOURLY: - if recurrence_interval is None: - raise InvalidArgumentValueError("Recurrence interval is required for hourly recurrence.") - # Ensure other arguments are not provided - if any([recurrence_index, recurrence_cron_expression, recurrence_dates_in_month, recurrence_week_days]): - raise InvalidArgumentValueError("Only recurrence interval should be provided for hourly recurrence.") - - if recurrence_type == enums.Frequency.MONTHLY_BY_DATES: - if recurrence_interval is None: - raise InvalidArgumentValueError("Recurrence interval is required for monthly by dates recurrence.") - if recurrence_dates_in_month is None or len(recurrence_dates_in_month) == 0: - raise InvalidArgumentValueError("Recurrence dates in month are required for monthly by dates recurrence.") - # Ensure other arguments are not provided - if any([recurrence_index, recurrence_cron_expression, recurrence_week_days]): - raise InvalidArgumentValueError("Only recurrence interval and dates in month should be provided for monthly by dates recurrence.") - - if recurrence_type == enums.Frequency.MONTHLY_BY_DAYS: - if recurrence_interval is None: - raise InvalidArgumentValueError("Recurrence interval is required for monthly by days recurrence.") - if recurrence_week_days is None or len(recurrence_week_days) == 0: - raise InvalidArgumentValueError("Recurrence week days are required for monthly by days recurrence.") - if recurrence_index not in range(1, 6): - raise InvalidArgumentValueError("Recurrence index should be between 1 and 5 for monthly by days recurrence.") - # Ensure other arguments are not provided - if any([recurrence_cron_expression, recurrence_dates_in_month]): - raise InvalidArgumentValueError("Only recurrence interval, week days, and index should be provided for monthly by days recurrence.") - - if recurrence_type == enums.Frequency.CRON: - if recurrence_cron_expression is None: - raise InvalidArgumentValueError("Recurrence cron expression is required for cron recurrence.") - - # Ensure other arguments are not provided - if any([recurrence_interval, recurrence_index, recurrence_dates_in_month, recurrence_week_days]): - raise InvalidArgumentValueError("Only recurrence cron expression should be provided for cron recurrence.") - -def get_schedule_trigger_body_for_update( - existing_trigger_schedule, - recurrence_body, - display_name, - description, - trigger_start_date_time, - test_ids, -): - new_trigger_body = models.ScheduleTestsTrigger( - test_ids=test_ids, - recurrence=recurrence_body, - start_date_time=trigger_start_date_time, - display_name=display_name, - description=description, - ) - - if test_ids is None: - new_trigger_body.test_ids = existing_trigger_schedule.test_ids - - if trigger_start_date_time is None: - new_trigger_body.start_date_time = existing_trigger_schedule.start_date_time - - if display_name is None: - new_trigger_body.display_name = existing_trigger_schedule.display_name - - if description is None: - new_trigger_body.description = existing_trigger_schedule.description - - if recurrence_body is None: - new_trigger_body.recurrence = existing_trigger_schedule.recurrence - - return new_trigger_body + return None + handler = recurrence_handlers.get(recurrence_type) + if handler: + return handler( + recurrence_interval=recurrence_interval, + recurrence_index=recurrence_index, + recurrence_cron_expression=recurrence_cron_expression, + recurrence_dates_in_month=recurrence_dates_in_month, + recurrence_week_days=recurrence_week_days, + recurrence_end_body=recurrence_end_body + ) + return None def get_recurrence_body_for_update( recurrence_type, @@ -194,8 +148,6 @@ def get_recurrence_body_for_update( recurrence_end_body, existing_recurrence, ): - # No recurrence type provided means update in existing recurrence - # Prioritize new values, but fallback to existing values if new values are not provided if recurrence_type is None: if existing_recurrence is None: if any([recurrence_interval, recurrence_index, recurrence_cron_expression, recurrence_dates_in_month, recurrence_week_days]): @@ -219,8 +171,7 @@ def get_recurrence_body_for_update( recurrence_interval = recurrence_interval or existing_recurrence.interval recurrence_week_days = recurrence_week_days or existing_recurrence.days_of_week recurrence_index = recurrence_index or existing_recurrence.index - - # if recurrence type is provided, override existing recurrence body with new values + return get_recurrence_body( recurrence_type, recurrence_interval, @@ -231,4 +182,35 @@ def get_recurrence_body_for_update( recurrence_end_body ) - \ No newline at end of file +def get_schedule_trigger_body_for_update( + existing_trigger_schedule, + recurrence_body, + display_name, + description, + trigger_start_date_time, + test_ids, +): + new_trigger_body = models.ScheduleTestsTrigger( + test_ids=test_ids, + recurrence=recurrence_body, + start_date_time=trigger_start_date_time, + display_name=display_name, + description=description, + ) + + if test_ids is None: + new_trigger_body.test_ids = existing_trigger_schedule.test_ids + + if trigger_start_date_time is None: + new_trigger_body.start_date_time = existing_trigger_schedule.start_date_time + + if display_name is None: + new_trigger_body.display_name = existing_trigger_schedule.display_name + + if description is None: + new_trigger_body.description = existing_trigger_schedule.description + + if recurrence_body is None: + new_trigger_body.recurrence = existing_trigger_schedule.recurrence + + return new_trigger_body From 2fe0e189d4f4240f74d45add991be73e3d8dbc57 Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Sun, 9 Mar 2025 10:37:08 +0000 Subject: [PATCH 07/16] Adding invalid test cases --- src/load/azext_load/tests/latest/constants.py | 8 + ...t_create_and_verify_trigger_schedules.yaml | 222 +++---- ...create_trigger_schedule_invalid_cases.yaml | 232 ++++++++ .../test_delete_trigger_schedule.yaml | 58 +- .../test_enable_trigger_schedule.yaml | 116 ++-- .../test_list_trigger_schedules.yaml | 44 +- .../test_pause_trigger_schedule.yaml | 88 +-- .../test_update_trigger_schedule.yaml | 56 +- ...update_trigger_schedule_invalid_cases.yaml | 549 ++++++++++++++++++ .../latest/test_load_trigger_schedule.py | 144 ++++- 10 files changed, 1224 insertions(+), 293 deletions(-) create mode 100644 src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml create mode 100644 src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml diff --git a/src/load/azext_load/tests/latest/constants.py b/src/load/azext_load/tests/latest/constants.py index b3afba65efd..e596df65932 100644 --- a/src/load/azext_load/tests/latest/constants.py +++ b/src/load/azext_load/tests/latest/constants.py @@ -297,3 +297,11 @@ class LoadTestTriggerConstants(LoadConstants): MONTHLY_DAYS_RECURRENCE_INTERVAL = 1 MONTHLY_DAYS_RECURRENCE_WEEK_DAYS = "Monday" MONTHLY_DAYS_RECURRENCE_INDEX = 1 + + # Constants for invalid cases + INVALID_DAILY_TRIGGER_ID = "invalid-daily-trigger" + INVALID_WEEKLY_TRIGGER_ID = "invalid-weekly-trigger" + INVALID_MONTHLY_DATES_TRIGGER_ID = "invalid-monthly-dates-trigger" + INVALID_MONTHLY_DAYS_TRIGGER_ID = "invalid-monthly-days-trigger" + INVALID_CRON_TRIGGER_ID = "invalid-cron-trigger" + INVALID_UPDATE_TRIGGER_ID = "update-invalid-trigger" diff --git a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml index 13860531e48..59487c15fdf 100644 --- a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:24 GMT + - Sun, 09 Mar 2025 09:03:19 GMT etag: - - '"4b04ff53-0000-0200-0000-67cad4c70000"' + - '"94041636-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -39,15 +39,15 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: DBD479F9F38F4CA6A70B415E762CB4BA Ref B: MAA201060516021 Ref C: 2025-03-07T11:13:23Z' + - 'Ref A: D6DAA5295DC84F9CBF0696FE693CAEF1 Ref B: MAA201060516045 Ref C: 2025-03-09T09:03:18Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-daily"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-07T11:12:41Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T09:02:37Z", "state": "Active", "displayName": "Daily Trigger", "description": "Trigger schedule for daily test case"}' headers: @@ -64,12 +64,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule - for daily test case","state":"Active","createdDateTime":"2025-03-07T11:13:25.878Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:25.878Z","lastModifiedBy":"hbisht@microsoft.com"}' + for daily test case","state":"Active","createdDateTime":"2025-03-09T09:03:19.884Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:19.884Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -80,15 +80,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:26 GMT + - Sun, 09 Mar 2025 09:03:20 GMT location: - - https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + - https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview mise-correlation-id: - - 6d1a4a45-3348-466a-81a4-7ece32262e50 + - f397753b-2cce-49d0-927b-d8708854c73a strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111325Z-167c755789d68wvvhC1SG10mdg00000007zg0000000007ve + - 20250309T090319Z-167c755789dnxkqrhC1SG1cs900000000yg0000000006qn3 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -111,7 +111,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -120,9 +120,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:26 GMT + - Sun, 09 Mar 2025 09:03:20 GMT etag: - - '"4b04ff53-0000-0200-0000-67cad4c70000"' + - '"94041636-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -138,7 +138,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 8C96845C84DA49ED80F6025FA72E0C14 Ref B: MAA201060513049 Ref C: 2025-03-07T11:13:26Z' + - 'Ref A: 4FC63DBEE62241EA9749A558F3B550A7 Ref B: MAA201060515047 Ref C: 2025-03-09T09:03:20Z' status: code: 200 message: OK @@ -154,12 +154,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule - for daily test case","state":"Active","createdDateTime":"2025-03-07T11:13:25.878Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:25.878Z","lastModifiedBy":"hbisht@microsoft.com"}' + for daily test case","state":"Active","createdDateTime":"2025-03-09T09:03:19.884Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:19.884Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -172,13 +172,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:27 GMT + - Sun, 09 Mar 2025 09:03:21 GMT mise-correlation-id: - - 2749774e-1d34-4738-9a71-7fb61773ae67 + - e834ae1b-e46d-405b-9949-3c2106be257b strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111326Z-167c755789d9f6qshC1SG1fkqn0000000vzg00000000ahbd + - 20250309T090321Z-167c755789dkxplchC1SG1rzhw000000117g00000000fcg7 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -201,7 +201,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -210,9 +210,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:27 GMT + - Sun, 09 Mar 2025 09:03:22 GMT etag: - - '"4b04ff53-0000-0200-0000-67cad4c70000"' + - '"94041636-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -228,14 +228,14 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: A149B96CD3E94BC084B0E15F4011D971 Ref B: MAA201060515049 Ref C: 2025-03-07T11:13:27Z' + - 'Ref A: 9E5A660B5C2D4B0487189C9CD582E65E Ref B: MAA201060516027 Ref C: 2025-03-09T09:03:22Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-weekly"], "recurrence": {"frequency": "Weekly", "interval": 1, "daysOfWeek": ["Monday"]}, "startDateTime": - "2025-03-07T11:12:41Z", "state": "Active", "displayName": "Weekly Trigger", + "2025-03-09T09:02:37Z", "state": "Active", "displayName": "Weekly Trigger", "description": "Trigger schedule for weekly test case"}' headers: Accept: @@ -251,12 +251,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule - for weekly test case","state":"Active","createdDateTime":"2025-03-07T11:13:29.312Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:29.312Z","lastModifiedBy":"hbisht@microsoft.com"}' + for weekly test case","state":"Active","createdDateTime":"2025-03-09T09:03:23.783Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:23.783Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -267,15 +267,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:29 GMT + - Sun, 09 Mar 2025 09:03:23 GMT location: - - https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + - https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview mise-correlation-id: - - 5a1c8a37-10e0-4d88-a470-61a64764258f + - c40b0a9a-db7f-44d6-8188-4e6498e74556 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111328Z-167c755789dt5nrlhC1SG184ss000000024000000000ceex + - 20250309T090323Z-16bc6c9867bpbnpmhC1SG1p0kn00000000r0000000009zyr x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -298,7 +298,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -307,9 +307,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:30 GMT + - Sun, 09 Mar 2025 09:03:24 GMT etag: - - '"4b04ff53-0000-0200-0000-67cad4c70000"' + - '"94041636-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -325,7 +325,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: E8A024A6AFEF4566B432BAB303327783 Ref B: MAA201060515037 Ref C: 2025-03-07T11:13:29Z' + - 'Ref A: 77AB621C7F52451689E5BE3493C7978A Ref B: MAA201060516009 Ref C: 2025-03-09T09:03:24Z' status: code: 200 message: OK @@ -341,12 +341,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule - for weekly test case","state":"Active","createdDateTime":"2025-03-07T11:13:29.312Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:29.312Z","lastModifiedBy":"hbisht@microsoft.com"}' + for weekly test case","state":"Active","createdDateTime":"2025-03-09T09:03:23.783Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:23.783Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -359,13 +359,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:31 GMT + - Sun, 09 Mar 2025 09:03:25 GMT mise-correlation-id: - - 5052427d-d0a4-4f3a-a42d-4e34edc58871 + - ef193741-fdc5-4ae9-82c3-0be1bf35284b strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111331Z-167c755789dnxcc2hC1SG19qas0000000u2g00000000586b + - 20250309T090325Z-167c755789ds2dv2hC1SG1k47800000011h00000000031w7 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -388,7 +388,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -397,9 +397,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:33 GMT + - Sun, 09 Mar 2025 09:03:26 GMT etag: - - '"4b04ff53-0000-0200-0000-67cad4c70000"' + - '"94041636-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -415,14 +415,14 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 5A97D784DB614E2587D0B0B0073D5A20 Ref B: MAA201060513051 Ref C: 2025-03-07T11:13:32Z' + - 'Ref A: 2A6977D8645640B5A643AB4583ECBF57 Ref B: MAA201060515031 Ref C: 2025-03-09T09:03:26Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-dates"], "recurrence": {"frequency": "MonthlyByDates", "interval": 1, "datesInMonth": - [1, 15]}, "startDateTime": "2025-03-07T11:12:41Z", "state": "Active", "displayName": + [1, 15]}, "startDateTime": "2025-03-09T09:02:37Z", "state": "Active", "displayName": "Monthly By Dates Trigger", "description": "Trigger schedule for monthly by dates test case"}' headers: @@ -439,12 +439,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger - schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-07T11:13:34.614Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:34.614Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T09:03:29.352Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:29.352Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -455,15 +455,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:34 GMT + - Sun, 09 Mar 2025 09:03:29 GMT location: - - https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + - https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview mise-correlation-id: - - f3fd9d16-62cf-4893-a578-97120bd15ec8 + - f862cc9d-2525-4ca6-ac8f-d760780a640e strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111333Z-167c755789dpktj6hC1SG1nr680000000vp000000000hy7q + - 20250309T090328Z-16bc6c9867bpbnpmhC1SG1p0kn00000000sg000000007tcm x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -486,7 +486,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -495,9 +495,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:35 GMT + - Sun, 09 Mar 2025 09:03:30 GMT etag: - - '"4b04ff53-0000-0200-0000-67cad4c70000"' + - '"94041636-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -513,7 +513,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: FEDE07CA14C14B198785B9B1F5176CF8 Ref B: MAA201060515033 Ref C: 2025-03-07T11:13:34Z' + - 'Ref A: E539C4E09B794AD6B9B3491FFE234DB9 Ref B: MAA201060515035 Ref C: 2025-03-09T09:03:29Z' status: code: 200 message: OK @@ -529,12 +529,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger - schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-07T11:13:34.614Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:34.614Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T09:03:29.352Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:29.352Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -547,13 +547,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:36 GMT + - Sun, 09 Mar 2025 09:03:30 GMT mise-correlation-id: - - c2f8312e-e883-4447-a94f-8085dbf19945 + - 5693833f-259b-4a75-8cd9-2ae2d4d24e84 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111335Z-167c755789dkxplchC1SG1rzhw0000000vh000000000cunx + - 20250309T090330Z-16bc6c9867b7lcnnhC1SG1ga7c00000000t00000000054g9 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -576,7 +576,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -585,9 +585,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:36 GMT + - Sun, 09 Mar 2025 09:03:31 GMT etag: - - '"4b04ff53-0000-0200-0000-67cad4c70000"' + - '"94041636-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -603,14 +603,14 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 8A7A5AAA0B0E4CD79341785FA791465D Ref B: MAA201060514045 Ref C: 2025-03-07T11:13:36Z' + - 'Ref A: 4950547E7BB14F02A94E8B0FCA938974 Ref B: MAA201060513021 Ref C: 2025-03-09T09:03:31Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-days"], "recurrence": {"frequency": "MonthlyByDays", "interval": 1, "weekDaysInMonth": ["Monday"], - "index": 1}, "startDateTime": "2025-03-07T11:12:41Z", "state": "Active", "displayName": + "index": 1}, "startDateTime": "2025-03-09T09:02:37Z", "state": "Active", "displayName": "Monthly By Days Trigger", "description": "Trigger schedule for monthly by days test case"}' headers: @@ -627,12 +627,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger - schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-07T11:13:38.428Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:38.428Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T09:03:32.456Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:32.456Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -643,15 +643,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:38 GMT + - Sun, 09 Mar 2025 09:03:32 GMT location: - - https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + - https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview mise-correlation-id: - - 51de4e4e-15c9-4bfa-96f0-c8ccc9039645 + - b78419cd-3890-4bd6-a75e-4e0cb7a67468 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111337Z-167c755789dnxcc2hC1SG19qas0000000u200000000074ha + - 20250309T090331Z-16bc6c9867bzh7v7hC1SG1u0z800000000p000000000a8h1 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -674,7 +674,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -683,9 +683,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:38 GMT + - Sun, 09 Mar 2025 09:03:32 GMT etag: - - '"4b04ff53-0000-0200-0000-67cad4c70000"' + - '"94041636-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -701,7 +701,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 5E69D5F7D604426685186EFDCFCA275D Ref B: MAA201060515031 Ref C: 2025-03-07T11:13:38Z' + - 'Ref A: 806DB3E5ED3A40DBA60D4BBC415B5A2A Ref B: MAA201060515033 Ref C: 2025-03-09T09:03:32Z' status: code: 200 message: OK @@ -717,12 +717,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger - schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-07T11:13:38.428Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:38.428Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T09:03:32.456Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:32.456Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -735,13 +735,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:40 GMT + - Sun, 09 Mar 2025 09:03:34 GMT mise-correlation-id: - - 18cb8d35-9306-442d-8afa-4490405bc260 + - 0395558a-e617-4b22-a676-92b4fcdd97c8 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111339Z-167c755789dmttfthC1SG1see40000000tn000000000tbtw + - 20250309T090333Z-167c755789dbzxjrhC1SG1x06c00000011t00000000022fu x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -764,7 +764,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -773,9 +773,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:41 GMT + - Sun, 09 Mar 2025 09:03:34 GMT etag: - - '"4b04ff53-0000-0200-0000-67cad4c70000"' + - '"94041636-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -791,13 +791,13 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: EDB620DA02F94F76B92EA993E11ACE6A Ref B: MAA201060513053 Ref C: 2025-03-07T11:13:40Z' + - 'Ref A: 684F50A781BE47E09308C7233280BBE8 Ref B: MAA201060516037 Ref C: 2025-03-09T09:03:34Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-cron"], "recurrence": - {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-07T11:12:41Z", + {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-09T09:02:37Z", "state": "Active", "displayName": "Cron Trigger", "description": "Trigger schedule for cron test case"}' headers: @@ -814,13 +814,13 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"Cron","cronExpression":"0 + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Cron","cronExpression":"0 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule - for cron test case","state":"Active","createdDateTime":"2025-03-07T11:13:42.363Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:42.363Z","lastModifiedBy":"hbisht@microsoft.com"}' + for cron test case","state":"Active","createdDateTime":"2025-03-09T09:03:35.957Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:35.957Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -831,15 +831,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:43 GMT + - Sun, 09 Mar 2025 09:03:36 GMT location: - - https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + - https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview mise-correlation-id: - - 44cb8aeb-01cf-422f-9054-a702f84d9a71 + - f18997e7-ecc0-42fd-88f3-0b0e067761c6 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111341Z-167c755789d5kjvwhC1SG13h0s00000002c000000000qmew + - 20250309T090335Z-167c755789dspngwhC1SG1te0g0000000z8000000000syq6 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -862,7 +862,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.6945301Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.6945301Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -871,9 +871,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:43 GMT + - Sun, 09 Mar 2025 09:03:36 GMT etag: - - '"4b04ff53-0000-0200-0000-67cad4c70000"' + - '"94041636-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -889,7 +889,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 3DD5513DBDD5436E80DB4966AFEDA96B Ref B: MAA201060515027 Ref C: 2025-03-07T11:13:43Z' + - 'Ref A: F34E9CC2E9444C5680EA2AACEE422F5D Ref B: MAA201060514021 Ref C: 2025-03-09T09:03:36Z' status: code: 200 message: OK @@ -905,13 +905,13 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://d1f25db0-5055-4318-85bd-998b32d8a0f4.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"Cron","cronExpression":"0 + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Cron","cronExpression":"0 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule - for cron test case","state":"Active","createdDateTime":"2025-03-07T11:13:42.363Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:42.363Z","lastModifiedBy":"hbisht@microsoft.com"}' + for cron test case","state":"Active","createdDateTime":"2025-03-09T09:03:35.957Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:35.957Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -924,13 +924,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:44 GMT + - Sun, 09 Mar 2025 09:03:38 GMT mise-correlation-id: - - e0d80b5f-698d-48d9-9342-df39520014cd + - f72d8539-4467-4639-9e05-d79ec8a8707a strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111344Z-167c755789d9flxvhC1SG1ucs40000000ugg000000005yc4 + - 20250309T090337Z-167c755789d4xm2whC1SG1zvh0000000107g000000005gyf x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml b/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml new file mode 100644 index 00000000000..253540cece4 --- /dev/null +++ b/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml @@ -0,0 +1,232 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:48.6389532Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:48.6389532Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2c0328fe-d8e4-4dca-b317-0399673bc99f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:21 GMT + etag: + - '"94041e36-0000-0200-0000-67cd59510000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 58873B11FA7D48F084E63FAD6AD36DA1 Ref B: MAA201060516025 Ref C: 2025-03-09T09:03:21Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:48.6389532Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:48.6389532Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2c0328fe-d8e4-4dca-b317-0399673bc99f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:22 GMT + etag: + - '"94041e36-0000-0200-0000-67cd59510000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 907568DFB6C647AB81EF4FF1CEA46B87 Ref B: MAA201060515045 Ref C: 2025-03-09T09:03:22Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:48.6389532Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:48.6389532Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2c0328fe-d8e4-4dca-b317-0399673bc99f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:24 GMT + etag: + - '"94041e36-0000-0200-0000-67cd59510000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 20F9841CF6464D219A2F18365143E079 Ref B: MAA201060513027 Ref C: 2025-03-09T09:03:23Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:48.6389532Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:48.6389532Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2c0328fe-d8e4-4dca-b317-0399673bc99f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:24 GMT + etag: + - '"94041e36-0000-0200-0000-67cd59510000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: FB0880B258CF4AC08EF2F57B9713621C Ref B: MAA201060514025 Ref C: 2025-03-09T09:03:24Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:48.6389532Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:48.6389532Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2c0328fe-d8e4-4dca-b317-0399673bc99f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:26 GMT + etag: + - '"94041e36-0000-0200-0000-67cd59510000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16498' + x-msedge-ref: + - 'Ref A: 7E4DBA72BD3348A2B70E5BE643B91AE7 Ref B: MAA201060514011 Ref C: 2025-03-09T09:03:25Z' + status: + code: 200 + message: OK +version: 1 diff --git a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml index 9cd3286cbd0..045beda2844 100644 --- a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.3533343Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.3533343Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0bf0d97e-64f0-4fe7-aab4-0ab45cf3757d.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1421393Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1421393Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"eda30514-3531-47b6-8a43-10e521a5a4de.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:26 GMT + - Sun, 09 Mar 2025 09:03:18 GMT etag: - - '"4b047c54-0000-0200-0000-67cad4cc0000"' + - '"94040736-0000-0200-0000-67cd594b0000"' expires: - '-1' pragma: @@ -41,13 +41,13 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 35B947EAF3E74CC6949DA03C7E8DE991 Ref B: MAA201060515033 Ref C: 2025-03-07T11:13:25Z' + - 'Ref A: 140A3CE39ED14F59A2F1B28476E1E4D5 Ref B: MAA201060516053 Ref C: 2025-03-09T09:03:18Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-delete"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-07T11:12:41Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T09:02:37Z", "state": "Active", "displayName": "Delete Trigger", "description": "Trigger schedule for delete test case"}' headers: @@ -64,12 +64,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://0bf0d97e-64f0-4fe7-aab4-0ab45cf3757d.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://eda30514-3531-47b6-8a43-10e521a5a4de.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-07T11:12:41Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:41Z"]},"kind":"ScheduleTestsTrigger","displayName":"Delete + string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Delete Trigger","triggerId":"test-trigger-id-delete","description":"Trigger schedule - for delete test case","state":"Active","createdDateTime":"2025-03-07T11:13:27.293Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:27.293Z","lastModifiedBy":"hbisht@microsoft.com"}' + for delete test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.149Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.149Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -80,15 +80,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:27 GMT + - Sun, 09 Mar 2025 09:03:21 GMT location: - - https://0bf0d97e-64f0-4fe7-aab4-0ab45cf3757d.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + - https://eda30514-3531-47b6-8a43-10e521a5a4de.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview mise-correlation-id: - - e51952cb-b93e-43e5-ae82-c8bef1f01867 + - 70cdbd67-9ccd-4171-9bb2-40b179c02c79 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111326Z-167c755789dt5nrlhC1SG184ss000000021000000000r3g2 + - 20250309T090319Z-167c755789dkxplchC1SG1rzhw00000011ag000000005e9d x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -111,7 +111,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.3533343Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.3533343Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0bf0d97e-64f0-4fe7-aab4-0ab45cf3757d.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1421393Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1421393Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"eda30514-3531-47b6-8a43-10e521a5a4de.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -120,9 +120,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:28 GMT + - Sun, 09 Mar 2025 09:03:22 GMT etag: - - '"4b047c54-0000-0200-0000-67cad4cc0000"' + - '"94040736-0000-0200-0000-67cd594b0000"' expires: - '-1' pragma: @@ -136,9 +136,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 0F94277F63254EE1A7F47207775AC14F Ref B: MAA201060514049 Ref C: 2025-03-07T11:13:27Z' + - 'Ref A: C093894CA5EF4BAEB88C5D8E3A6AD06D Ref B: MAA201060514027 Ref C: 2025-03-09T09:03:21Z' status: code: 200 message: OK @@ -156,7 +156,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: DELETE - uri: https://0bf0d97e-64f0-4fe7-aab4-0ab45cf3757d.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://eda30514-3531-47b6-8a43-10e521a5a4de.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: string: '' @@ -166,13 +166,13 @@ interactions: connection: - keep-alive date: - - Fri, 07 Mar 2025 11:13:29 GMT + - Sun, 09 Mar 2025 09:03:23 GMT mise-correlation-id: - - 5cb098d5-c029-45b1-8a49-d822bdb4ce19 + - c733234f-db82-4a1b-8de2-a74835bab928 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111328Z-167c755789d5kjvwhC1SG13h0s00000002ag00000000wkh6 + - 20250309T090322Z-16bc6c9867bzh7v7hC1SG1u0z800000000tg000000004ax2 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -195,7 +195,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.3533343Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.3533343Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0bf0d97e-64f0-4fe7-aab4-0ab45cf3757d.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1421393Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1421393Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"eda30514-3531-47b6-8a43-10e521a5a4de.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -204,9 +204,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:30 GMT + - Sun, 09 Mar 2025 09:03:25 GMT etag: - - '"4b047c54-0000-0200-0000-67cad4cc0000"' + - '"94040736-0000-0200-0000-67cd594b0000"' expires: - '-1' pragma: @@ -222,7 +222,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 8F4E30AB58CB4F18B55D39D97C2123B5 Ref B: MAA201060514033 Ref C: 2025-03-07T11:13:29Z' + - 'Ref A: D0570EA2BB5B4D2F80A3394CFB1FA5DE Ref B: MAA201060516045 Ref C: 2025-03-09T09:03:24Z' status: code: 200 message: OK @@ -238,7 +238,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://0bf0d97e-64f0-4fe7-aab4-0ab45cf3757d.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://eda30514-3531-47b6-8a43-10e521a5a4de.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: string: '{"value":[]}' @@ -254,13 +254,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:31 GMT + - Sun, 09 Mar 2025 09:03:25 GMT mise-correlation-id: - - 5b78dea8-d110-464f-a430-2d88c7f27bff + - bdfae741-126c-48ed-805c-131a5698764d strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111330Z-167c755789d68wvvhC1SG10mdg00000007tg00000000pk71 + - 20250309T090325Z-167c755789dspngwhC1SG1te0g0000000ze0000000003hkf x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml index 5863b64c493..7d5d4fc9c76 100644 --- a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.0806713Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.0806713Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1201564Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1201564Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:24 GMT + - Sun, 09 Mar 2025 09:03:18 GMT etag: - - '"4b041a54-0000-0200-0000-67cad4c90000"' + - '"94040536-0000-0200-0000-67cd594b0000"' expires: - '-1' pragma: @@ -41,13 +41,13 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: C5A4B5654D524F7D94B84178349C2631 Ref B: MAA201060514017 Ref C: 2025-03-07T11:13:24Z' + - 'Ref A: B526C2257ED34581B5EA8CE325424DDE Ref B: MAA201060514023 Ref C: 2025-03-09T09:03:18Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-enable"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-07T11:12:42Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T09:02:37Z", "state": "Active", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case"}' headers: @@ -64,12 +64,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-07T11:13:26.531Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:26.531Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T09:03:19.967Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:19.967Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -80,15 +80,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:26 GMT + - Sun, 09 Mar 2025 09:03:20 GMT location: - - https://56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + - https://ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview mise-correlation-id: - - f12c61db-d27b-4068-bf05-3caf8526ce17 + - 0714acb8-aebc-49be-8aeb-18c233167d53 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111325Z-167c755789dkxplchC1SG1rzhw0000000vhg00000000atss + - 20250309T090319Z-167c755789d9flxvhC1SG1ucs4000000107g000000007v5t x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -111,7 +111,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.0806713Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.0806713Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1201564Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1201564Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -120,9 +120,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:27 GMT + - Sun, 09 Mar 2025 09:03:20 GMT etag: - - '"4b041a54-0000-0200-0000-67cad4c90000"' + - '"94040536-0000-0200-0000-67cd594b0000"' expires: - '-1' pragma: @@ -138,7 +138,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 432835162D604F7C8A1C8DA2B4E2B289 Ref B: MAA201060515053 Ref C: 2025-03-07T11:13:26Z' + - 'Ref A: F14E4DE1DDC24F998984C42248F1ACEF Ref B: MAA201060513037 Ref C: 2025-03-09T09:03:20Z' status: code: 200 message: OK @@ -154,12 +154,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-07T11:13:26.531Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:26.531Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T09:03:19.967Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:19.967Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -172,13 +172,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:28 GMT + - Sun, 09 Mar 2025 09:03:21 GMT mise-correlation-id: - - da7458b2-e98c-4823-8aa8-761298a9e71b + - 50572fb9-9c6f-4255-aaa9-4cebbdbbeff3 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111327Z-167c755789dt5nrlhC1SG184ss000000023000000000f6zn + - 20250309T090320Z-167c755789dh5d2xhC1SG1c6dc00000010g000000000fm15 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -187,7 +187,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-07T11:12:42Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T09:02:37Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case", "state": "Paused"}' @@ -205,12 +205,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Paused","createdDateTime":"2025-03-07T11:13:26.531Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:28.704Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Paused","createdDateTime":"2025-03-09T09:03:19.967Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.807Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -223,13 +223,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:28 GMT + - Sun, 09 Mar 2025 09:03:21 GMT mise-correlation-id: - - fe5c0acb-767e-420a-a696-7a6c46c47e47 + - c4bb2cd6-55c9-4714-bdde-b617f3f54a5c strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111328Z-167c755789dt5nrlhC1SG184ss000000023000000000f72k + - 20250309T090321Z-167c755789dh5d2xhC1SG1c6dc00000010g000000000fm2w x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -252,7 +252,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.0806713Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.0806713Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1201564Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1201564Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -261,9 +261,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:29 GMT + - Sun, 09 Mar 2025 09:03:23 GMT etag: - - '"4b041a54-0000-0200-0000-67cad4c90000"' + - '"94040536-0000-0200-0000-67cd594b0000"' expires: - '-1' pragma: @@ -277,9 +277,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: BD17A199C2C9467CA62288C02732E417 Ref B: MAA201060516009 Ref C: 2025-03-07T11:13:28Z' + - 'Ref A: 6C10B847619440D09AACB2120152517D Ref B: MAA201060513047 Ref C: 2025-03-09T09:03:22Z' status: code: 200 message: OK @@ -295,12 +295,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Paused","createdDateTime":"2025-03-07T11:13:26.531Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:28.704Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Paused","createdDateTime":"2025-03-09T09:03:19.967Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.807Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -313,13 +313,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:30 GMT + - Sun, 09 Mar 2025 09:03:23 GMT mise-correlation-id: - - 0eb0b002-58a4-4a6d-8b8e-b3f0c9c28fe8 + - e0d21c24-480f-45d4-8bc9-5253c111a7c8 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111330Z-167c755789dkxplchC1SG1rzhw0000000vg000000000eg8t + - 20250309T090323Z-167c755789drsd6jhC1SG13zv400000010cg0000000042gx x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -328,7 +328,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-07T11:12:42Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T09:02:37Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case", "state": "Active"}' @@ -346,12 +346,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-07T11:13:26.531Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:31.103Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T09:03:19.967Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:24.126Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -364,13 +364,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:31 GMT + - Sun, 09 Mar 2025 09:03:24 GMT mise-correlation-id: - - 756dfb73-162f-4e41-8ee0-bab722a8951d + - b3691066-1e9c-492b-a343-d6f8b7061ab2 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111330Z-167c755789dkxplchC1SG1rzhw0000000vg000000000egkv + - 20250309T090323Z-167c755789drsd6jhC1SG13zv400000010cg0000000042na x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -393,7 +393,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.0806713Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.0806713Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1201564Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1201564Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -402,9 +402,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:33 GMT + - Sun, 09 Mar 2025 09:03:24 GMT etag: - - '"4b041a54-0000-0200-0000-67cad4c90000"' + - '"94040536-0000-0200-0000-67cd594b0000"' expires: - '-1' pragma: @@ -418,9 +418,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: A3740F6F4F314E6BBB6B6A9B69C93150 Ref B: MAA201060513033 Ref C: 2025-03-07T11:13:31Z' + - 'Ref A: 636A777D492947C49197BA13E38A8C27 Ref B: MAA201060515027 Ref C: 2025-03-09T09:03:24Z' status: code: 200 message: OK @@ -436,12 +436,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://56ab4582-608a-4b4f-81b2-2bfa15f0bdb8.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-07T11:13:26.531Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:31.103Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T09:03:19.967Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:24.126Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -454,13 +454,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:34 GMT + - Sun, 09 Mar 2025 09:03:25 GMT mise-correlation-id: - - 377f7fb1-aaa7-4c97-8d36-385c54539c0e + - 868b9f38-36c4-42e0-a518-f9a59321831f strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111333Z-167c755789drsd6jhC1SG13zv40000000uh000000000ew0t + - 20250309T090325Z-167c755789dspngwhC1SG1te0g0000000ze0000000003hhz x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml index d1b6d0430fa..6dbb0c82204 100644 --- a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:50.9665976Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:50.9665976Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"089e1350-c53c-4982-9aaa-2f3d8f4fc418.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.1408689Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.1408689Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"03ef5728-c8a0-4e1f-808d-c8cbdc366c2b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:24 GMT + - Sun, 09 Mar 2025 09:03:20 GMT etag: - - '"4b041354-0000-0200-0000-67cad4c80000"' + - '"94041236-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -41,13 +41,13 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 0BFBB949D327426C86FAA9EFB3A6A8F4 Ref B: MAA201060514033 Ref C: 2025-03-07T11:13:24Z' + - 'Ref A: 4BECE776307F4F709CA7CD2C578CC011 Ref B: MAA201060514047 Ref C: 2025-03-09T09:03:19Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-list"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-07T11:12:42Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T09:02:37Z", "state": "Active", "displayName": "List Trigger", "description": "Trigger schedule for list test case"}' headers: @@ -64,12 +64,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://089e1350-c53c-4982-9aaa-2f3d8f4fc418.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + uri: https://03ef5728-c8a0-4e1f-808d-c8cbdc366c2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"List Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule - for list test case","state":"Active","createdDateTime":"2025-03-07T11:13:27.185Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:27.185Z","lastModifiedBy":"hbisht@microsoft.com"}' + for list test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.268Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.268Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -80,15 +80,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:27 GMT + - Sun, 09 Mar 2025 09:03:21 GMT location: - - https://089e1350-c53c-4982-9aaa-2f3d8f4fc418.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + - https://03ef5728-c8a0-4e1f-808d-c8cbdc366c2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview mise-correlation-id: - - b8a573ab-0220-47e8-b542-b5d8502c691b + - d4bfaa2b-7050-4a12-a18b-947fb118a2ee strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111325Z-167c755789d9flxvhC1SG1ucs40000000ugg000000005wp8 + - 20250309T090320Z-16b6c7c97bdv462zhC1SG1q2vc0000000dx00000000014hx x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -111,7 +111,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:50.9665976Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:50.9665976Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"089e1350-c53c-4982-9aaa-2f3d8f4fc418.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.1408689Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.1408689Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"03ef5728-c8a0-4e1f-808d-c8cbdc366c2b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -120,9 +120,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:27 GMT + - Sun, 09 Mar 2025 09:03:21 GMT etag: - - '"4b041354-0000-0200-0000-67cad4c80000"' + - '"94041236-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -138,7 +138,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 4652F648D34A4FAF84F703450A253EAD Ref B: MAA201060514017 Ref C: 2025-03-07T11:13:27Z' + - 'Ref A: 523537FD89644F9A83C78EBBB1E61EB1 Ref B: MAA201060515017 Ref C: 2025-03-09T09:03:21Z' status: code: 200 message: OK @@ -154,12 +154,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://089e1350-c53c-4982-9aaa-2f3d8f4fc418.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://03ef5728-c8a0-4e1f-808d-c8cbdc366c2b.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: - string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"List Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule - for list test case","state":"Active","createdDateTime":"2025-03-07T11:13:27.185Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:27.185Z","lastModifiedBy":"hbisht@microsoft.com"}]}' + for list test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.268Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.268Z","lastModifiedBy":"hbisht@microsoft.com"}]}' headers: accept-ranges: - bytes @@ -172,13 +172,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:29 GMT + - Sun, 09 Mar 2025 09:03:22 GMT mise-correlation-id: - - 2a8d7f2f-2143-460e-8058-d53c4cddd330 + - 214082b5-a11e-4300-91c2-8f97f7853640 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111328Z-167c755789d9f6qshC1SG1fkqn0000000w00000000009nq9 + - 20250309T090322Z-16b6c7c97bdv462zhC1SG1q2vc0000000dw0000000001tua x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml index 7b3e85530c4..62ae7fd2a07 100644 --- a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.9455003Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.9455003Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1318678Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1318678Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:24 GMT + - Sun, 09 Mar 2025 09:03:18 GMT etag: - - '"4b041554-0000-0200-0000-67cad4c80000"' + - '"94041436-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -41,13 +41,13 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 02FE02DD1ACC4AFE97207E6E16DFF1D8 Ref B: MAA201060516053 Ref C: 2025-03-07T11:13:23Z' + - 'Ref A: 28C422FAE9D14EB8865B23F904DF035E Ref B: MAA201060514023 Ref C: 2025-03-09T09:03:18Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-pause"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-07T11:12:42Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T09:02:37Z", "state": "Active", "displayName": "Pause Trigger", "description": "Trigger schedule for pause test case"}' headers: @@ -64,31 +64,31 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Active","createdDateTime":"2025-03-07T11:13:25.9Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:25.9Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Active","createdDateTime":"2025-03-09T09:03:20.022Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:20.022Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '519' + - '523' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:26 GMT + - Sun, 09 Mar 2025 09:03:20 GMT location: - - https://97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + - https://e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview mise-correlation-id: - - ce296591-9e6c-4835-93eb-5e12eaa9087d + - c0032546-f1ac-4628-bd29-ffcd385248a6 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111325Z-167c755789dpdc6bhC1SG15uyn0000000rxg00000000rak9 + - 20250309T090319Z-16b6c7c97bd669r7hC1SG1gdxn0000000dr00000000079pm x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -111,7 +111,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.9455003Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.9455003Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1318678Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1318678Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -120,9 +120,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:27 GMT + - Sun, 09 Mar 2025 09:03:21 GMT etag: - - '"4b041554-0000-0200-0000-67cad4c80000"' + - '"94041436-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -138,7 +138,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 1621F64D289C4536B0BF794AD4A920F6 Ref B: MAA201060514031 Ref C: 2025-03-07T11:13:26Z' + - 'Ref A: AA73C184E7B945579D0FD7DB069E7EB9 Ref B: MAA201060515025 Ref C: 2025-03-09T09:03:20Z' status: code: 200 message: OK @@ -154,12 +154,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Active","createdDateTime":"2025-03-07T11:13:25.9Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:25.9Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Active","createdDateTime":"2025-03-09T09:03:20.022Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:20.022Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -168,17 +168,17 @@ interactions: connection: - keep-alive content-length: - - '519' + - '523' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:27 GMT + - Sun, 09 Mar 2025 09:03:22 GMT mise-correlation-id: - - 009bffa5-30fe-4005-9914-7d7004122095 + - e59f395c-abb1-499f-948a-24499f085925 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111327Z-167c755789dbhjzdhC1SG1t7h80000000v4g00000000s4q0 + - 20250309T090321Z-167c755789d4xm2whC1SG1zvh0000000101g00000000tgg6 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -187,7 +187,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-07T11:12:42Z", + body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-09T09:02:37Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Pause Trigger", "description": "Trigger schedule for pause test case", "state": "Paused"}' @@ -205,12 +205,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Paused","createdDateTime":"2025-03-07T11:13:25.9Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:28.15Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Paused","createdDateTime":"2025-03-09T09:03:20.022Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:23.876Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -219,17 +219,17 @@ interactions: connection: - keep-alive content-length: - - '498' + - '501' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:28 GMT + - Sun, 09 Mar 2025 09:03:24 GMT mise-correlation-id: - - 9367ee2c-10f7-4638-b3cd-7017700772ab + - f67eb7c0-b69c-46fd-a492-61fde46b4636 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111327Z-167c755789dbhjzdhC1SG1t7h80000000v4g00000000s4s6 + - 20250309T090322Z-167c755789d4xm2whC1SG1zvh0000000101g00000000tgmd x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -252,7 +252,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:49.9455003Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:49.9455003Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1318678Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1318678Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -261,9 +261,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:28 GMT + - Sun, 09 Mar 2025 09:03:24 GMT etag: - - '"4b041554-0000-0200-0000-67cad4c80000"' + - '"94041436-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -277,9 +277,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 5701251271494F588A47C3A2C377A94E Ref B: MAA201060513051 Ref C: 2025-03-07T11:13:28Z' + - 'Ref A: 3F68660D87A4416DB618A4D8D1FB8B7D Ref B: MAA201060514049 Ref C: 2025-03-09T09:03:24Z' status: code: 200 message: OK @@ -295,12 +295,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://97cf8677-d16f-4169-8118-fc5ced49479e.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Paused","createdDateTime":"2025-03-07T11:13:25.9Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:28.15Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Paused","createdDateTime":"2025-03-09T09:03:20.022Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:23.876Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -309,17 +309,17 @@ interactions: connection: - keep-alive content-length: - - '498' + - '501' content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:29 GMT + - Sun, 09 Mar 2025 09:03:25 GMT mise-correlation-id: - - 1a130510-d3b1-4780-bcde-fcf3c18316fb + - 2b0a5ff4-6d10-47eb-a24b-9fe8508b35fa strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111329Z-167c755789dmttfthC1SG1see40000000tug000000002783 + - 20250309T090324Z-167c755789dpktj6hC1SG1nr6800000011gg0000000057z7 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml index e784270ed30..f98aaf351dc 100644 --- a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.0269715Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.0269715Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"e9251b81-27ea-476d-be0e-afd5fe689fb0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.3835566Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.3835566Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"5baa46f2-54c3-4a77-8bf8-9777dde46a3b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:25 GMT + - Sun, 09 Mar 2025 09:03:20 GMT etag: - - '"4b043f54-0000-0200-0000-67cad4cb0000"' + - '"94041036-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -41,13 +41,13 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: A2B289574FDE4A6E8EEE90D57BA838B9 Ref B: MAA201060516025 Ref C: 2025-03-07T11:13:25Z' + - 'Ref A: 9E39A0F67B5C4F49B0F0F39BC0024D7A Ref B: MAA201060514045 Ref C: 2025-03-09T09:03:20Z' status: code: 200 message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-07T11:12:42Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T09:02:37Z", "state": "Active", "displayName": "Update Trigger", "description": "Trigger schedule for update test case"}' headers: @@ -64,12 +64,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://e9251b81-27ea-476d-be0e-afd5fe689fb0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://5baa46f2-54c3-4a77-8bf8-9777dde46a3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-07T11:13:26.426Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:26.426Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:22.308Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:22.308Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -80,15 +80,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:26 GMT + - Sun, 09 Mar 2025 09:03:22 GMT location: - - https://e9251b81-27ea-476d-be0e-afd5fe689fb0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + - https://5baa46f2-54c3-4a77-8bf8-9777dde46a3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview mise-correlation-id: - - 9e363211-eeb3-4ae6-b790-bc79f126ad1a + - af4aa07f-0698-4bab-bcb0-d3ef6c0cbd5a strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111325Z-167c755789dh5d2xhC1SG1c6dc0000000utg00000000cbvu + - 20250309T090321Z-16bc6c9867bdwvrkhC1SG1q1as00000000qg00000000dyn2 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -111,7 +111,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-07T11:12:51.0269715Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-07T11:12:51.0269715Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"e9251b81-27ea-476d-be0e-afd5fe689fb0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.3835566Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.3835566Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"5baa46f2-54c3-4a77-8bf8-9777dde46a3b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -120,9 +120,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:26 GMT + - Sun, 09 Mar 2025 09:03:22 GMT etag: - - '"4b043f54-0000-0200-0000-67cad4cb0000"' + - '"94041036-0000-0200-0000-67cd594d0000"' expires: - '-1' pragma: @@ -136,9 +136,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 25B797D37683458DA7976CCB6EAE51DA Ref B: MAA201060516039 Ref C: 2025-03-07T11:13:26Z' + - 'Ref A: 4C9C2423DB3B4E658107BDFCE710C671 Ref B: MAA201060514025 Ref C: 2025-03-09T09:03:22Z' status: code: 200 message: OK @@ -154,12 +154,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://e9251b81-27ea-476d-be0e-afd5fe689fb0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://5baa46f2-54c3-4a77-8bf8-9777dde46a3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-07T11:12:42Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-08T11:12:42Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-07T11:13:26.426Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:26.426Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:22.308Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:22.308Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -172,13 +172,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:27 GMT + - Sun, 09 Mar 2025 09:03:24 GMT mise-correlation-id: - - dafe59f4-f6f5-44dd-bfa4-876e313d57e3 + - 7346b5fe-4f18-4a59-b0c3-471f50c55425 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111327Z-167c755789d4xm2whC1SG1zvh00000000ua000000000sb46 + - 20250309T090323Z-167c755789djnhhnhC1SG1sch000000011pg00000000fsg0 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -205,12 +205,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://e9251b81-27ea-476d-be0e-afd5fe689fb0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://5baa46f2-54c3-4a77-8bf8-9777dde46a3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: string: '{"testIds":["test-id-update"],"startDateTime":"2025-04-01T00:00:00Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":2},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-14T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Updated Test Trigger","triggerId":"test-trigger-id-update","description":"Updated - test trigger schedule","createdDateTime":"2025-03-07T11:13:26.426Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-07T11:13:28.182Z","lastModifiedBy":"hbisht@microsoft.com"}' + test trigger schedule","createdDateTime":"2025-03-09T09:03:22.308Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:24.515Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -223,13 +223,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 07 Mar 2025 11:13:28 GMT + - Sun, 09 Mar 2025 09:03:24 GMT mise-correlation-id: - - 343ce391-d60a-4a27-b4ad-b01ab34c0709 + - 6605bfb4-af6f-4eae-8618-1115fafeb098 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250307T111328Z-167c755789d4xm2whC1SG1zvh00000000ua000000000sb5v + - 20250309T090324Z-167c755789djnhhnhC1SG1sch000000011pg00000000fsm0 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml new file mode 100644 index 00000000000..a415455f82c --- /dev/null +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml @@ -0,0 +1,549 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.0349157Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.0349157Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:20 GMT + etag: + - '"94042036-0000-0200-0000-67cd59510000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 94978C14E2694FFFBEEF84121EF0A078 Ref B: MAA201060516017 Ref C: 2025-03-09T09:03:19Z' + status: + code: 200 + message: OK +- request: + body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T09:02:37Z", + "state": "Active", "displayName": "Update Trigger", "description": "Trigger + schedule for update test case"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '265' + Content-Type: + - application/merge-patch+json + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: PATCH + uri: https://bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule + for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.792Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.792Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '527' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:21 GMT + location: + - https://bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + mise-correlation-id: + - 7dbde9f7-95f0-4d4b-b3ea-85d3183f3716 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250309T090321Z-16bc6c9867bc9m42hC1SG1edwg00000000p000000000e5ey + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.0349157Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.0349157Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:23 GMT + etag: + - '"94042036-0000-0200-0000-67cd59510000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: B5843AB2A7B14612BB44A2BBA0F56D6A Ref B: MAA201060514037 Ref C: 2025-03-09T09:03:22Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule + for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.792Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.792Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '527' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:23 GMT + mise-correlation-id: + - 2432034b-4259-4136-b19b-243405a1ba3b + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250309T090323Z-167c755789dh5d2xhC1SG1c6dc00000010hg00000000b14q + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.0349157Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.0349157Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:24 GMT + etag: + - '"94042036-0000-0200-0000-67cd59510000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 98CB2F8C3B76471891B884369CE2533A Ref B: MAA201060514033 Ref C: 2025-03-09T09:03:23Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule + for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.792Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.792Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '527' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:25 GMT + mise-correlation-id: + - baa6b724-7aae-4137-84ff-6230f4584436 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250309T090324Z-16bc6c9867bpbnpmhC1SG1p0kn00000000qg000000009sb3 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.0349157Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.0349157Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:27 GMT + etag: + - '"94042036-0000-0200-0000-67cd59510000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16497' + x-msedge-ref: + - 'Ref A: 59A9DCA726EE4E1DBF3101568460B56A Ref B: MAA201060515023 Ref C: 2025-03-09T09:03:27Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule + for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.792Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.792Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '527' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:28 GMT + mise-correlation-id: + - ad6be07c-5b25-4013-bdc9-857455ac2979 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250309T090328Z-167c755789djnhhnhC1SG1sch000000011u0000000000b6v + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.0349157Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.0349157Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:29 GMT + etag: + - '"94042036-0000-0200-0000-67cd59510000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: C9E11087F6A242A9BCBFFE6B50216493 Ref B: MAA201060513045 Ref C: 2025-03-09T09:03:28Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule + for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.792Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.792Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '527' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:30 GMT + mise-correlation-id: + - 9a663662-f4a7-452f-9584-fc64dd9476a8 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250309T090330Z-16bc6c9867b7lcnnhC1SG1ga7c00000000p000000000ag8g + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.0349157Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.0349157Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '665' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:31 GMT + etag: + - '"94042036-0000-0200-0000-67cd59510000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 3876B3AF04C8446C8BEF59B9441C4FD9 Ref B: MAA201060515049 Ref C: 2025-03-09T09:03:31Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + response: + body: + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule + for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.792Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.792Z","lastModifiedBy":"hbisht@microsoft.com"}' + headers: + accept-ranges: + - bytes + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-length: + - '527' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 09 Mar 2025 09:03:32 GMT + mise-correlation-id: + - 18ddd758-4c86-4d95-82dc-47279c1bd73d + strict-transport-security: + - max-age=31536000; includeSubDomains + x-azure-ref: + - 20250309T090331Z-16bc6c9867b29tpvhC1SG1h26w00000000u00000000027dy + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/load/azext_load/tests/latest/test_load_trigger_schedule.py b/src/load/azext_load/tests/latest/test_load_trigger_schedule.py index 564ac18fd2b..3863e57fd91 100644 --- a/src/load/azext_load/tests/latest/test_load_trigger_schedule.py +++ b/src/load/azext_load/tests/latest/test_load_trigger_schedule.py @@ -10,6 +10,7 @@ ScenarioTest, ) from knack.log import get_logger +from azure.cli.core.azclierror import InvalidArgumentValueError logger = get_logger(__name__) @@ -412,4 +413,145 @@ def test_enable_trigger_schedule(self, rg, load): '--resource-group {resource_group} ' '--trigger-id {trigger_id}', checks=checks, - ) \ No newline at end of file + ) + + @ResourceGroupPreparer(**rg_params) + @LoadTestResourcePreparer(**load_params) + def test_create_trigger_schedule_invalid_cases(self, rg, load): + # Test invalid daily recurrence with extra parameters + with self.assertRaises(InvalidArgumentValueError): + self.create_trigger_schedule( + trigger_id=LoadTestTriggerConstants.INVALID_DAILY_TRIGGER_ID, + description=LoadTestTriggerConstants.DAILY_DESCRIPTION, + display_name=LoadTestTriggerConstants.DAILY_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.DAILY_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.RECURRENCE_INTERVAL_ONE, + recurrence_week_days=LoadTestTriggerConstants.WEEKLY_RECURRENCE_DAYS, # Invalid parameter for daily recurrence + test_ids=LoadTestTriggerConstants.DAILY_TEST_IDS + ) + + # Test invalid weekly recurrence without required parameters + with self.assertRaises(InvalidArgumentValueError): + self.create_trigger_schedule( + trigger_id=LoadTestTriggerConstants.INVALID_WEEKLY_TRIGGER_ID, + description=LoadTestTriggerConstants.WEEKLY_DESCRIPTION, + display_name=LoadTestTriggerConstants.WEEKLY_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.WEEKLY_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.WEEKLY_RECURRENCE_INTERVAL, + test_ids=LoadTestTriggerConstants.WEEKLY_TEST_IDS + ) + + # Test invalid monthly by dates recurrence with extra parameters + with self.assertRaises(InvalidArgumentValueError): + self.create_trigger_schedule( + trigger_id=LoadTestTriggerConstants.INVALID_MONTHLY_DATES_TRIGGER_ID, + description=LoadTestTriggerConstants.MONTHLY_DATES_DESCRIPTION, + display_name=LoadTestTriggerConstants.MONTHLY_DATES_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_INTERVAL, + recurrence_dates_in_month=LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_DATES_IN_MONTH, + recurrence_week_days=LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_WEEK_DAYS, # Invalid parameter for monthly by dates recurrence + test_ids=LoadTestTriggerConstants.MONTHLY_DATES_TEST_IDS + ) + + # Test invalid monthly by days recurrence without required parameters + with self.assertRaises(InvalidArgumentValueError): + self.create_trigger_schedule( + trigger_id=LoadTestTriggerConstants.INVALID_MONTHLY_DAYS_TRIGGER_ID, + description=LoadTestTriggerConstants.MONTHLY_DAYS_DESCRIPTION, + display_name=LoadTestTriggerConstants.MONTHLY_DAYS_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_INTERVAL, + recurrence_week_days=LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_WEEK_DAYS, + test_ids=LoadTestTriggerConstants.MONTHLY_DAYS_TEST_IDS + ) + + # Test invalid cron recurrence with extra parameters + with self.assertRaises(InvalidArgumentValueError): + self.create_trigger_schedule( + trigger_id=LoadTestTriggerConstants.INVALID_CRON_TRIGGER_ID, + description=LoadTestTriggerConstants.CRON_DESCRIPTION, + display_name=LoadTestTriggerConstants.CRON_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.CRON_RECURRENCE_TYPE, + recurrence_cron_expression=LoadTestTriggerConstants.CRON_RECURRENCE_CRON_EXPRESSION, + recurrence_interval=LoadTestTriggerConstants.RECURRENCE_INTERVAL_ONE, # Invalid parameter for cron recurrence + test_ids=LoadTestTriggerConstants.CRON_TEST_IDS + ) + + @ResourceGroupPreparer(**rg_params) + @LoadTestResourcePreparer(**load_params) + def test_update_trigger_schedule_invalid_cases(self, rg, load): + self.create_trigger_schedule( + trigger_id=LoadTestTriggerConstants.INVALID_UPDATE_TRIGGER_ID, + description=LoadTestTriggerConstants.UPDATE_DESCRIPTION, + display_name=LoadTestTriggerConstants.UPDATE_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.DAILY_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.RECURRENCE_INTERVAL_ONE, + test_ids=LoadTestTriggerConstants.UPDATE_TEST_IDS + ) + + # Test invalid update to daily recurrence with extra parameters + with self.assertRaises(InvalidArgumentValueError): + self.cmd( + 'az load trigger schedule update ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + f'--trigger-id {LoadTestTriggerConstants.INVALID_UPDATE_TRIGGER_ID} ' + f'--recurrence-type {LoadTestTriggerConstants.DAILY_RECURRENCE_TYPE} ' + f'--recurrence-interval {LoadTestTriggerConstants.DAILY_RECURRENCE_INTERVAL} ' + f'--recurrence-week-days {LoadTestTriggerConstants.WEEKLY_RECURRENCE_DAYS} ' # Invalid parameter for daily recurrence + ) + + # Test invalid update to weekly recurrence without required parameter (recurrence-interval) + with self.assertRaises(InvalidArgumentValueError): + self.cmd( + 'az load trigger schedule update ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + f'--trigger-id {LoadTestTriggerConstants.INVALID_UPDATE_TRIGGER_ID} ' + f'--recurrence-type {LoadTestTriggerConstants.WEEKLY_RECURRENCE_TYPE} ' + f'--recurrence-week-days {LoadTestTriggerConstants.WEEKLY_RECURRENCE_DAYS} ' + ) + + # Test invalid update to monthly by dates recurrence with extra parameters + with self.assertRaises(InvalidArgumentValueError): + self.cmd( + 'az load trigger schedule update ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + f'--trigger-id {LoadTestTriggerConstants.INVALID_UPDATE_TRIGGER_ID} ' + f'--recurrence-type {LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_TYPE} ' + f'--recurrence-interval {LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_INTERVAL} ' + f'--recurrence-week-days {LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_WEEK_DAYS} ' # Invalid parameter for monthly by dates recurrence + f'--recurrence-dates-in-month {LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_DATES_IN_MONTH} ' + ) + + # Test invalid update to monthly by days recurrence without required parameters + with self.assertRaises(InvalidArgumentValueError): + self.cmd( + 'az load trigger schedule update ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + f'--trigger-id {LoadTestTriggerConstants.INVALID_UPDATE_TRIGGER_ID} ' + f'--recurrence-type {LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_TYPE} ' + f'--recurrence-interval {LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_INTERVAL} ' + f'--recurrence-week-days {LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_WEEK_DAYS} ' + ) + + # Test invalid update to cron recurrence with extra parameters + with self.assertRaises(InvalidArgumentValueError): + self.cmd( + 'az load trigger schedule update ' + '--name {load_test_resource} ' + '--resource-group {resource_group} ' + f'--trigger-id {LoadTestTriggerConstants.INVALID_UPDATE_TRIGGER_ID} ' + f'--recurrence-cron-exp "{LoadTestTriggerConstants.CRON_RECURRENCE_CRON_EXPRESSION}" ' + f'--recurrence-interval {LoadTestTriggerConstants.RECURRENCE_INTERVAL_ONE} ' # Invalid parameter for cron recurrence + f'--recurrence-type {LoadTestTriggerConstants.CRON_RECURRENCE_TYPE} ' + ) \ No newline at end of file From 426d697e37ee8fbc5bf635e53f018aa18911a4b4 Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Sun, 9 Mar 2025 20:56:39 +0000 Subject: [PATCH 08/16] Addressing PR comments --- src/load/azext_load/data_plane/help.py | 8 +- .../data_plane/load_trigger/custom.py | 101 ++-- .../data_plane/load_trigger/help.py | 37 +- .../data_plane/load_trigger/params.py | 4 +- .../data_plane/load_trigger/utils.py | 12 +- .../azext_load/data_plane/utils/argtypes.py | 2 +- ...t_create_and_verify_trigger_schedules.yaml | 441 +++++++++++++----- ...create_trigger_schedule_invalid_cases.yaml | 257 +++++++++- .../test_delete_trigger_schedule.yaml | 101 ++-- .../test_enable_trigger_schedule.yaml | 157 ++++--- .../test_list_trigger_schedules.yaml | 87 +++- .../test_pause_trigger_schedule.yaml | 123 +++-- .../test_update_trigger_schedule.yaml | 99 ++-- ...update_trigger_schedule_invalid_cases.yaml | 169 ++++--- 14 files changed, 1157 insertions(+), 441 deletions(-) diff --git a/src/load/azext_load/data_plane/help.py b/src/load/azext_load/data_plane/help.py index 2e6e93e6d72..4f56dbcfce5 100644 --- a/src/load/azext_load/data_plane/help.py +++ b/src/load/azext_load/data_plane/help.py @@ -89,14 +89,14 @@ "load trigger" ] = """ type: group -short-summary: Command group to manage load trigger. -long-summary: Command group to manage load trigger. Currently supported trigger is schedule. +short-summary: Command group to manage trigger. +long-summary: Command group to manage triggers. Currently the only supported trigger type is schedule. """ + _common_params helps[ "load trigger schedule" ] = """ type: group -short-summary: Command group to manage load trigger schedule. -long-summary: Command group to manage load trigger schedule with create, update, delete, list, etc. +short-summary: Command group to manage schedule triggers. +long-summary: Command group to manage schedule triggers. """ + _common_params diff --git a/src/load/azext_load/data_plane/load_trigger/custom.py b/src/load/azext_load/data_plane/load_trigger/custom.py index fde74ce49ac..63a250349e3 100644 --- a/src/load/azext_load/data_plane/load_trigger/custom.py +++ b/src/load/azext_load/data_plane/load_trigger/custom.py @@ -8,6 +8,7 @@ ) from azure.core.exceptions import ResourceNotFoundError +from azure.cli.core.azclierror import InvalidArgumentValueError from knack.log import get_logger from azext_load.vendored_sdks.loadtesting.models import ( _models as models, _enums as enums) import azext_load.data_plane.load_trigger.utils as utils @@ -33,7 +34,14 @@ def create_trigger_schedule( test_ids=None, ): client = get_admin_data_plane_client(cmd, load_test_resource, resource_group_name) - logger.info("Creating trigger schedule") + logger.info("Creating schedule trigger.") + try: + client.get_trigger(trigger_id) + msg = "Trigger schedule with id: {} already exists.".format(trigger_id) + logger.error(msg) + raise InvalidArgumentValueError(msg) + except ResourceNotFoundError: + pass recurrence_end_body = utils.get_recurrence_end_body( end_after_occurrence, end_after_date_time, @@ -65,6 +73,7 @@ def create_trigger_schedule( return response except Exception as e: logger.error("Error occurred while creating trigger schedule: %s", str(e)) + raise def update_trigger_schedule( @@ -86,15 +95,15 @@ def update_trigger_schedule( test_ids=None, ): client = get_admin_data_plane_client(cmd, load_test_resource, resource_group_name) - logger.info("Updating trigger schedule with name") + logger.info("Updating schedule trigger with id: %s", trigger_id) existing_trigger_schedule: models.ScheduleTestsTrigger = None try: existing_trigger_schedule = client.get_trigger(trigger_id) - except Exception as e: - logger.debug("Error occurred while fetching trigger schedule: %s", str(e)) - logger.error("Trigger schedule with id: %s not found.", trigger_id) - return - logger.debug("Existing trigger schedule: %s", existing_trigger_schedule) + except ResourceNotFoundError as e: + msg = "Schedule trigger with id: {} does not exists.".format(trigger_id) + logger.debug(msg) + raise InvalidArgumentValueError(msg) + logger.debug("Existing schedule trigger: %s", existing_trigger_schedule) recurrence_end_body = utils.get_recurrence_end_body( end_after_occurrence, end_after_date_time, @@ -120,16 +129,15 @@ def update_trigger_schedule( trigger_start_date_time, test_ids, ) - - logger.debug("Trigger schedule body: %s", new_trigger_body) - logger.debug("Trigger schedule body to be sent for update: %s", existing_trigger_schedule) + logger.debug("Schedule trigger body to be sent for update: %s", new_trigger_body) try: response = client.create_or_update_trigger(trigger_id=trigger_id, body=new_trigger_body) - logger.debug("Updated trigger schedule: %s", response) - logger.info("Updating trigger schedule completed") + logger.debug("Updated schedule trigger: %s", response) + logger.info("Updating schedule trigger completed") return response except Exception as e: - logger.error("Error occurred while updating trigger schedule: %s", str(e)) + logger.error("Error occurred while updating schedule trigger: %s", str(e)) + raise def delete_trigger_schedule( cmd, @@ -138,11 +146,11 @@ def delete_trigger_schedule( resource_group_name=None, ): logger.info( - "Deleting trigger schedule with name" + "Deleting schedule trigger with id: %s", trigger_id ) client = get_admin_data_plane_client(cmd, load_test_resource, resource_group_name) client.delete_trigger(trigger_id) - logger.info("Deleting trigger schedule completed.") + logger.info("Deleting schedule trigger completed.") def get_trigger_schedule( @@ -152,11 +160,11 @@ def get_trigger_schedule( resource_group_name=None, ): logger.info( - "Getting trigger schedule with name" + "Getting schedule trigger with id: %s", trigger_id ) client = get_admin_data_plane_client(cmd, load_test_resource, resource_group_name) response = client.get_trigger(trigger_id) - logger.debug("Fetched trigger schedule: %s", response) + logger.debug("Fetched schedule trigger: %s", response) return response @@ -167,25 +175,24 @@ def pause_trigger_schedule( resource_group_name=None, ): logger.info( - "Pausing trigger schedule with name" + "Pausing schedule trigger with id: %s", trigger_id ) client = get_admin_data_plane_client(cmd, load_test_resource, resource_group_name) - result = None + existing_trigger_schedule: models.ScheduleTestsTrigger = None try: - result = client.get_trigger(trigger_id=trigger_id) - except Exception as e: - logger.debug("Error occurred while fetching trigger schedule: %s", str(e)) - logger.error("Trigger schedule with id: %s not found.", trigger_id) - return - logger.debug("Existing trigger object: %s", result) - if result.state == enums.TriggerState.ACTIVE: - result.state = enums.TriggerState.PAUSED - response = client.create_or_update_trigger(trigger_id=trigger_id, body=result) - logger.debug("Paused trigger schedule: %s", response) + existing_trigger_schedule = client.get_trigger(trigger_id) + except ResourceNotFoundError as e: + msg = "Schedule trigger with id: {} does not exists.".format(trigger_id) + logger.debug(msg) + raise InvalidArgumentValueError(msg) + logger.debug("Existing schedule trigger object: %s", existing_trigger_schedule) + if existing_trigger_schedule.state == enums.TriggerState.ACTIVE: + existing_trigger_schedule.state = enums.TriggerState.PAUSED + response = client.create_or_update_trigger(trigger_id=trigger_id, body=existing_trigger_schedule) + logger.debug("Paused schedule trigger: %s", response) return response else: - logger.error("Trigger schedule is not active. It is in %s state.", result.state.value) - + logger.error("Schedule trigger is not active. It is in %s state.", existing_trigger_schedule.state.value) def enable_trigger_schedule( cmd, @@ -194,24 +201,24 @@ def enable_trigger_schedule( resource_group_name=None, ): logger.info( - "Enabling trigger schedule with name" + "Enabling schedule trigger with id: %s", trigger_id ) client = get_admin_data_plane_client(cmd, load_test_resource, resource_group_name) - result = None + existing_trigger_schedule: models.ScheduleTestsTrigger = None try: - result = client.get_trigger(trigger_id=trigger_id) - except Exception as e: - logger.debug("Error occurred while fetching trigger schedule: %s", str(e)) - logger.error("Trigger schedule with id: %s not found.", trigger_id) - return - logger.debug("Existing trigger object: %s", result) - if result.state == enums.TriggerState.PAUSED: - result.state = enums.TriggerState.ACTIVE - response = client.create_or_update_trigger(trigger_id=trigger_id, body=result) - logger.debug("Enabled trigger schedule: %s", response) + existing_trigger_schedule = client.get_trigger(trigger_id) + except ResourceNotFoundError as e: + msg = "Schedule trigger with id: {} does not exists.".format(trigger_id) + logger.debug(msg) + raise InvalidArgumentValueError(msg) + logger.debug("Existing trigger object: %s", existing_trigger_schedule) + if existing_trigger_schedule.state in [enums.TriggerState.PAUSED, enums.TriggerState.DISABLED]: + existing_trigger_schedule.state = enums.TriggerState.ACTIVE + response = client.create_or_update_trigger(trigger_id=trigger_id, body=existing_trigger_schedule) + logger.debug("Enabled schedule trigger: %s", response) return response else: - logger.error("Trigger schedule is not paused. It is in %s state.", result.state.value) + logger.error("Schedule trigger is in %s state, hence cannot be enabled.", existing_trigger_schedule.state.value) def list_trigger_schedules( @@ -221,13 +228,13 @@ def list_trigger_schedules( trigger_states=None, test_ids=None, ): - logger.info("Listing trigger schedules") + logger.info("Listing schedule triggers.") client = get_admin_data_plane_client(cmd, load_test_resource, resource_group_name) if trigger_states: trigger_states = ",".join(trigger_states) if test_ids: test_ids = ",".join(test_ids) - logger.info("Trigger states: %s", trigger_states) + logger.info("Schedule trigger states: %s", trigger_states) response = client.list_trigger(test_ids=test_ids, states=trigger_states) - logger.debug("Fetched list of trigger schedules: %s", response) + logger.debug("Fetched list of schedule triggers: %s", response) return response \ No newline at end of file diff --git a/src/load/azext_load/data_plane/load_trigger/help.py b/src/load/azext_load/data_plane/load_trigger/help.py index 52bb248a669..c38cb12a99b 100644 --- a/src/load/azext_load/data_plane/load_trigger/help.py +++ b/src/load/azext_load/data_plane/load_trigger/help.py @@ -14,9 +14,15 @@ type: command short-summary: Create a new load trigger schedule. examples: - - name: Create schedule. + - name: Create a schedule trigger with daily recurrence. text: | - az load trigger schedule create --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id --description "Sample description" --display-name "Sample display name" --start-date-time 2023-01-01T15:16:17Z --recurrence-type Daily --recurrence-properties '{"interval":1}' --end-after-occurrence 5 --test-ids sample-test-id + az load trigger schedule create --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id --description "Sample description" --display-name "Sample display name" --start-date-time 2023-01-01T15:16:17Z --recurrence-type Daily --recurrence-interval 1 --end-after-occurrence 5 --test-ids sample-test-id + - name: Create a schedule trigger with weekly recurrence. + text: | + az load trigger schedule create --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id --description "Sample description" --display-name "Sample display name" --start-date-time 2023-01-01T15:16:17Z --recurrence-type Weekly --recurrence-interval 1 --recurrence-week-days Monday Tuesday Wednesday Thursday Friday --end-after-occurrence 15 --test-ids sample-test-id + - name: Create a schedule trigger with cron expression. + text: | + az load trigger schedule create --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id --description "Sample description" --display-name "Sample display name" --start-date-time 2023-01-01T15:16:17Z --recurrence-cron-expression "0 0 12 * *" --end-after-occurrence 10 --test-ids sample-test-id """ helps[ @@ -25,9 +31,15 @@ type: command short-summary: Update a load trigger schedule. examples: - - name: Update schedule. + - name: Update display name of schedule. text: | az load trigger schedule update --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id --display-name "Updated display name" + - name: Update recurrence type of schedule. + text: | + az load trigger schedule update --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id --recurrence-type Weekly --recurrence-interval 2 --recurrence-week-days Monday Tuesday Wednesday Thursday Friday + - name: Update recurrence end date of schedule. + text: | + az load trigger schedule update --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id --end-after-date-time 2025-12-31T15:16:17Z """ @@ -57,7 +69,7 @@ "load trigger schedule pause" ] = """ type: command -short-summary: Pause a load trigger schedule. +short-summary: Pause a schedule trigger. examples: - name: Pause schedule. text: | @@ -68,7 +80,7 @@ "load trigger schedule enable" ] = """ type: command -short-summary: Enable a load trigger schedule. +short-summary: Enable a schedule trigger. examples: - name: Enable schedule. text: | @@ -79,9 +91,18 @@ "load trigger schedule list" ] = """ type: command -short-summary: List all load trigger schedules. +short-summary: List all schedule triggers. examples: - - name: List schedule. + - name: List all schedule triggers. + text: | + az load trigger schedule list --load-test-resource sample-alt-resource --resource-group sample-rg + - name: List schedule which are in active state. + text: | + az load trigger schedule list --load-test-resource sample-alt-resource --resource-group sample-rg --states Active + - name: List schedule which are associated with given test ids. + text: | + az load trigger schedule list --load-test-resource sample-alt-resource --resource-group sample-rg --test-ids sample-test-id1 sample-test-id2 + - name: List schedule which are in paused state and associated with given test ids. text: | - az load trigger schedule list --load-test-resource sample-alt-resource --resource-group sample-rg --test-ids sample-test-id1 sample-test-id2 --states Active + az load trigger schedule list --load-test-resource sample-alt-resource --resource-group sample-rg --states Paused --test-ids sample-test-id1 sample-test-id2 """ \ No newline at end of file diff --git a/src/load/azext_load/data_plane/load_trigger/params.py b/src/load/azext_load/data_plane/load_trigger/params.py index a85606f4e3c..1bb621eab4c 100644 --- a/src/load/azext_load/data_plane/load_trigger/params.py +++ b/src/load/azext_load/data_plane/load_trigger/params.py @@ -28,7 +28,7 @@ def load_arguments(self, _): c.argument("recurrence_cron_expression", argtypes.recurrence_cron_expression) c.argument("recurrence_dates_in_month", argtypes.recurrence_dates_in_month) c.argument("recurrence_week_days", argtypes.recurrence_week_days) - c.argument("end_after_occurrence", argtypes.end_after_occurrence) + c.argument("end_after_occurrence", argtypes.end_after_occurrences) c.argument("end_after_date_time", argtypes.end_after_date_time) c.argument("test_ids", argtypes.test_ids) @@ -43,7 +43,7 @@ def load_arguments(self, _): c.argument("recurrence_cron_expression", argtypes.recurrence_cron_expression) c.argument("recurrence_dates_in_month", argtypes.recurrence_dates_in_month) c.argument("recurrence_week_days", argtypes.recurrence_week_days) - c.argument("end_after_occurrence", argtypes.end_after_occurrence) + c.argument("end_after_occurrence", argtypes.end_after_occurrences) c.argument("end_after_date_time", argtypes.end_after_date_time) c.argument("test_ids", argtypes.test_ids) diff --git a/src/load/azext_load/data_plane/load_trigger/utils.py b/src/load/azext_load/data_plane/load_trigger/utils.py index 2c7c6a90de1..0d995fb3375 100644 --- a/src/load/azext_load/data_plane/load_trigger/utils.py +++ b/src/load/azext_load/data_plane/load_trigger/utils.py @@ -34,7 +34,7 @@ def handle_daily_recurrence(recurrence_interval, recurrence_end_body, **kwargs): if recurrence_interval is None: raise InvalidArgumentValueError("Recurrence interval is required for daily recurrence.") if any(kwargs.values()): - raise InvalidArgumentValueError("Only recurrence interval should be provided for daily recurrence.") + raise InvalidArgumentValueError("Only recurrence interval is a valid input for daily recurrence.") return models.DailyRecurrence( interval=recurrence_interval, recurrence_end=recurrence_end_body @@ -46,7 +46,7 @@ def handle_weekly_recurrence(recurrence_interval, recurrence_week_days, recurren if recurrence_week_days is None or len(recurrence_week_days) == 0: raise InvalidArgumentValueError("Recurrence week days are required for weekly recurrence.") if any(kwargs.values()): - raise InvalidArgumentValueError("Only recurrence interval and week days should be provided for weekly recurrence.") + raise InvalidArgumentValueError("Only recurrence interval and week days are valid inputs for weekly recurrence.") return models.WeeklyRecurrence( interval=recurrence_interval, days_of_week=recurrence_week_days, @@ -57,7 +57,7 @@ def handle_hourly_recurrence(recurrence_interval, recurrence_end_body, **kwargs) if recurrence_interval is None: raise InvalidArgumentValueError("Recurrence interval is required for hourly recurrence.") if any(kwargs.values()): - raise InvalidArgumentValueError("Only recurrence interval should be provided for hourly recurrence.") + raise InvalidArgumentValueError("Only recurrence interval is a valid input for hourly recurrence.") return models.HourlyRecurrence( interval=recurrence_interval, recurrence_end=recurrence_end_body @@ -69,7 +69,7 @@ def handle_monthly_by_dates_recurrence(recurrence_interval, recurrence_dates_in_ if recurrence_dates_in_month is None or len(recurrence_dates_in_month) == 0: raise InvalidArgumentValueError("Recurrence dates in month are required for monthly by dates recurrence.") if any(kwargs.values()): - raise InvalidArgumentValueError("Only recurrence interval and dates in month should be provided for monthly by dates recurrence.") + raise InvalidArgumentValueError("Only recurrence interval and dates in month are valid input for monthly by dates recurrence.") return models.MonthlyRecurrenceByDates( interval=recurrence_interval, dates_in_month=recurrence_dates_in_month, @@ -84,7 +84,7 @@ def handle_monthly_by_days_recurrence(recurrence_interval, recurrence_week_days, if recurrence_index not in range(1, 6): raise InvalidArgumentValueError("Recurrence index should be between 1 and 5 for monthly by days recurrence.") if any(kwargs.values()): - raise InvalidArgumentValueError("Only recurrence interval, week days, and index should be provided for monthly by days recurrence.") + raise InvalidArgumentValueError("Only recurrence interval, week days, and index are valid input for monthly by days recurrence.") return models.MonthlyRecurrenceByWeekDays( interval=recurrence_interval, week_days_in_month=recurrence_week_days, @@ -96,7 +96,7 @@ def handle_cron_recurrence(recurrence_cron_expression, recurrence_end_body, **kw if recurrence_cron_expression is None: raise InvalidArgumentValueError("Recurrence cron expression is required for cron recurrence.") if any(kwargs.values()): - raise InvalidArgumentValueError("Only recurrence cron expression should be provided for cron recurrence.") + raise InvalidArgumentValueError("Only recurrence cron expression is valid input for cron recurrence.") return models.RecurrenceWithCron( cron_expression=recurrence_cron_expression, recurrence_end=recurrence_end_body diff --git a/src/load/azext_load/data_plane/utils/argtypes.py b/src/load/azext_load/data_plane/utils/argtypes.py index b8f93c81acb..866eee99462 100644 --- a/src/load/azext_load/data_plane/utils/argtypes.py +++ b/src/load/azext_load/data_plane/utils/argtypes.py @@ -439,7 +439,7 @@ help="Recurrence type of the load trigger schedule", ) -end_after_occurrence = CLIArgumentType( +end_after_occurrences = CLIArgumentType( options_list=["--end-after-occurrence"], type=int, help="End after occurrence of the load trigger schedule", diff --git a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml index 59487c15fdf..e30adb39aed 100644 --- a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:19 GMT + - Sun, 09 Mar 2025 20:54:09 GMT etag: - - '"94041636-0000-0200-0000-67cd594d0000"' + - '"9f0425ac-0000-0200-0000-67cdffe70000"' expires: - '-1' pragma: @@ -39,15 +39,58 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: D6DAA5295DC84F9CBF0696FE693CAEF1 Ref B: MAA201060516045 Ref C: 2025-03-09T09:03:18Z' + - 'Ref A: 46BFB2B3869E4C05B716AC137DBD71DC Ref B: MAA201060516027 Ref C: 2025-03-09T20:54:09Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-daily + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:11 GMT + mise-correlation-id: + - db4744a4-5dd9-4275-b4bb-6475efd49210 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205410Z-16bc6c9867bpntnchC1SG1n3tn00000001w000000000bfre + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-daily"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T09:02:37Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T20:53:23Z", "state": "Active", "displayName": "Daily Trigger", "description": "Trigger schedule for daily test case"}' headers: @@ -64,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule - for daily test case","state":"Active","createdDateTime":"2025-03-09T09:03:19.884Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:19.884Z","lastModifiedBy":"hbisht@microsoft.com"}' + for daily test case","state":"Active","createdDateTime":"2025-03-09T20:54:11.749Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:11.749Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -80,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:20 GMT + - Sun, 09 Mar 2025 20:54:11 GMT location: - - https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + - https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview mise-correlation-id: - - f397753b-2cce-49d0-927b-d8708854c73a + - 8fb3043f-036e-4de8-aeae-9ebee14b698b strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090319Z-167c755789dnxkqrhC1SG1cs900000000yg0000000006qn3 + - 20250309T205411Z-16bc6c9867bpntnchC1SG1n3tn00000001w000000000bfwz x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -111,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -120,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:20 GMT + - Sun, 09 Mar 2025 20:54:12 GMT etag: - - '"94041636-0000-0200-0000-67cd594d0000"' + - '"9f0425ac-0000-0200-0000-67cdffe70000"' expires: - '-1' pragma: @@ -138,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 4FC63DBEE62241EA9749A558F3B550A7 Ref B: MAA201060515047 Ref C: 2025-03-09T09:03:20Z' + - 'Ref A: EAB658389A084346B51B8FA4E34ACFEB Ref B: MAA201060514031 Ref C: 2025-03-09T20:54:12Z' status: code: 200 message: OK @@ -154,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule - for daily test case","state":"Active","createdDateTime":"2025-03-09T09:03:19.884Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:19.884Z","lastModifiedBy":"hbisht@microsoft.com"}' + for daily test case","state":"Active","createdDateTime":"2025-03-09T20:54:11.749Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:11.749Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -172,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:21 GMT + - Sun, 09 Mar 2025 20:54:14 GMT mise-correlation-id: - - e834ae1b-e46d-405b-9949-3c2106be257b + - 55cbfcdf-4eda-4d81-bc1c-328edce13f49 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090321Z-167c755789dkxplchC1SG1rzhw000000117g00000000fcg7 + - 20250309T205413Z-16bc6c9867btgkv4hC1SG1pnx800000001y000000000701p x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -201,7 +244,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -210,9 +253,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:22 GMT + - Sun, 09 Mar 2025 20:54:14 GMT etag: - - '"94041636-0000-0200-0000-67cd594d0000"' + - '"9f0425ac-0000-0200-0000-67cdffe70000"' expires: - '-1' pragma: @@ -228,14 +271,57 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 9E5A660B5C2D4B0487189C9CD582E65E Ref B: MAA201060516027 Ref C: 2025-03-09T09:03:22Z' + - 'Ref A: 28B089709B4A48F0B9DD3959A36A4B67 Ref B: MAA201060514045 Ref C: 2025-03-09T20:54:14Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-weekly + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:15 GMT + mise-correlation-id: + - f3a1c271-c16e-4a21-8046-4c4a21a33f38 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205415Z-16bc6c9867bwklg4hC1SG166x0000000023g00000000ae8h + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-weekly"], "recurrence": {"frequency": "Weekly", "interval": 1, "daysOfWeek": ["Monday"]}, "startDateTime": - "2025-03-09T09:02:37Z", "state": "Active", "displayName": "Weekly Trigger", + "2025-03-09T20:53:23Z", "state": "Active", "displayName": "Weekly Trigger", "description": "Trigger schedule for weekly test case"}' headers: Accept: @@ -251,12 +337,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule - for weekly test case","state":"Active","createdDateTime":"2025-03-09T09:03:23.783Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:23.783Z","lastModifiedBy":"hbisht@microsoft.com"}' + for weekly test case","state":"Active","createdDateTime":"2025-03-09T20:54:16.109Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:16.109Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -267,15 +353,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:23 GMT + - Sun, 09 Mar 2025 20:54:16 GMT location: - - https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + - https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview mise-correlation-id: - - c40b0a9a-db7f-44d6-8188-4e6498e74556 + - 31c355f1-6876-4339-a315-53c0f7b155ed strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090323Z-16bc6c9867bpbnpmhC1SG1p0kn00000000r0000000009zyr + - 20250309T205415Z-16bc6c9867bwklg4hC1SG166x0000000023g00000000aebp x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -298,7 +384,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -307,9 +393,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:24 GMT + - Sun, 09 Mar 2025 20:54:16 GMT etag: - - '"94041636-0000-0200-0000-67cd594d0000"' + - '"9f0425ac-0000-0200-0000-67cdffe70000"' expires: - '-1' pragma: @@ -325,7 +411,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 77AB621C7F52451689E5BE3493C7978A Ref B: MAA201060516009 Ref C: 2025-03-09T09:03:24Z' + - 'Ref A: 6394C17CCFF942A9BCF12434A533C3B6 Ref B: MAA201060515011 Ref C: 2025-03-09T20:54:16Z' status: code: 200 message: OK @@ -341,12 +427,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule - for weekly test case","state":"Active","createdDateTime":"2025-03-09T09:03:23.783Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:23.783Z","lastModifiedBy":"hbisht@microsoft.com"}' + for weekly test case","state":"Active","createdDateTime":"2025-03-09T20:54:16.109Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:16.109Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -359,13 +445,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:25 GMT + - Sun, 09 Mar 2025 20:54:17 GMT mise-correlation-id: - - ef193741-fdc5-4ae9-82c3-0be1bf35284b + - 12af745f-e9b8-49bd-92d9-43c2beb1edb3 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090325Z-167c755789ds2dv2hC1SG1k47800000011h00000000031w7 + - 20250309T205417Z-16bc6c9867btgkv4hC1SG1pnx800000001vg00000000b4k5 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -388,7 +474,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -397,9 +483,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:26 GMT + - Sun, 09 Mar 2025 20:54:17 GMT etag: - - '"94041636-0000-0200-0000-67cd594d0000"' + - '"9f0425ac-0000-0200-0000-67cdffe70000"' expires: - '-1' pragma: @@ -413,16 +499,59 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 2A6977D8645640B5A643AB4583ECBF57 Ref B: MAA201060515031 Ref C: 2025-03-09T09:03:26Z' + - 'Ref A: 1ED91D518FE44B179CBB5EAAD1B53A22 Ref B: MAA201060514033 Ref C: 2025-03-09T20:54:17Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-monthly-dates + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:18 GMT + mise-correlation-id: + - 1a9f4a5f-5462-426e-ba85-a4f237f0bdef + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205417Z-16bc6c9867b562q7hC1SG1b75000000001rg000000005rcc + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-dates"], "recurrence": {"frequency": "MonthlyByDates", "interval": 1, "datesInMonth": - [1, 15]}, "startDateTime": "2025-03-09T09:02:37Z", "state": "Active", "displayName": + [1, 15]}, "startDateTime": "2025-03-09T20:53:23Z", "state": "Active", "displayName": "Monthly By Dates Trigger", "description": "Trigger schedule for monthly by dates test case"}' headers: @@ -439,12 +568,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger - schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T09:03:29.352Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:29.352Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T20:54:18.866Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:18.866Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -455,15 +584,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:29 GMT + - Sun, 09 Mar 2025 20:54:18 GMT location: - - https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + - https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview mise-correlation-id: - - f862cc9d-2525-4ca6-ac8f-d760780a640e + - fd26bf8c-3116-4633-898c-1230049a3c74 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090328Z-16bc6c9867bpbnpmhC1SG1p0kn00000000sg000000007tcm + - 20250309T205418Z-16bc6c9867b562q7hC1SG1b75000000001rg000000005rdv x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -486,7 +615,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -495,9 +624,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:30 GMT + - Sun, 09 Mar 2025 20:54:18 GMT etag: - - '"94041636-0000-0200-0000-67cd594d0000"' + - '"9f0425ac-0000-0200-0000-67cdffe70000"' expires: - '-1' pragma: @@ -513,7 +642,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: E539C4E09B794AD6B9B3491FFE234DB9 Ref B: MAA201060515035 Ref C: 2025-03-09T09:03:29Z' + - 'Ref A: 84067D0F0A3543D79354C22888762BFF Ref B: MAA201060513029 Ref C: 2025-03-09T20:54:19Z' status: code: 200 message: OK @@ -529,12 +658,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger - schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T09:03:29.352Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:29.352Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T20:54:18.866Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:18.866Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -547,13 +676,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:30 GMT + - Sun, 09 Mar 2025 20:54:20 GMT mise-correlation-id: - - 5693833f-259b-4a75-8cd9-2ae2d4d24e84 + - 24a1bdf8-ee84-4d55-b6c1-33614cb0a192 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090330Z-16bc6c9867b7lcnnhC1SG1ga7c00000000t00000000054g9 + - 20250309T205419Z-16bc6c9867bps5cxhC1SG17nv400000001ng0000000013d6 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -576,7 +705,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -585,9 +714,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:31 GMT + - Sun, 09 Mar 2025 20:54:21 GMT etag: - - '"94041636-0000-0200-0000-67cd594d0000"' + - '"9f0425ac-0000-0200-0000-67cdffe70000"' expires: - '-1' pragma: @@ -603,14 +732,57 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 4950547E7BB14F02A94E8B0FCA938974 Ref B: MAA201060513021 Ref C: 2025-03-09T09:03:31Z' + - 'Ref A: ABE2DD3C30A6492CBBB6A555EEAE05D6 Ref B: MAA201060516033 Ref C: 2025-03-09T20:54:20Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-monthly-days + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:22 GMT + mise-correlation-id: + - e4feb37b-0685-4447-b701-8b385db972eb + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205421Z-16bc6c9867bzh7v7hC1SG1u0z8000000026g00000000702c + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-days"], "recurrence": {"frequency": "MonthlyByDays", "interval": 1, "weekDaysInMonth": ["Monday"], - "index": 1}, "startDateTime": "2025-03-09T09:02:37Z", "state": "Active", "displayName": + "index": 1}, "startDateTime": "2025-03-09T20:53:23Z", "state": "Active", "displayName": "Monthly By Days Trigger", "description": "Trigger schedule for monthly by days test case"}' headers: @@ -627,12 +799,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger - schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T09:03:32.456Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:32.456Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T20:54:22.161Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:22.161Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -643,15 +815,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:32 GMT + - Sun, 09 Mar 2025 20:54:22 GMT location: - - https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + - https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview mise-correlation-id: - - b78419cd-3890-4bd6-a75e-4e0cb7a67468 + - 4a7f6584-2288-4f37-9694-4f91885805e9 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090331Z-16bc6c9867bzh7v7hC1SG1u0z800000000p000000000a8h1 + - 20250309T205422Z-16bc6c9867bzh7v7hC1SG1u0z8000000026g000000007031 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -674,7 +846,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -683,9 +855,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:32 GMT + - Sun, 09 Mar 2025 20:54:22 GMT etag: - - '"94041636-0000-0200-0000-67cd594d0000"' + - '"9f0425ac-0000-0200-0000-67cdffe70000"' expires: - '-1' pragma: @@ -701,7 +873,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 806DB3E5ED3A40DBA60D4BBC415B5A2A Ref B: MAA201060515033 Ref C: 2025-03-09T09:03:32Z' + - 'Ref A: 0F9A1DB49F4D406688F6AF3C2C7690A4 Ref B: MAA201060513037 Ref C: 2025-03-09T20:54:22Z' status: code: 200 message: OK @@ -717,12 +889,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger - schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T09:03:32.456Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:32.456Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T20:54:22.161Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:22.161Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -735,13 +907,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:34 GMT + - Sun, 09 Mar 2025 20:54:23 GMT mise-correlation-id: - - 0395558a-e617-4b22-a676-92b4fcdd97c8 + - 87f82b9d-c88b-4e5c-bf68-f584929d99ec strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090333Z-167c755789dbzxjrhC1SG1x06c00000011t00000000022fu + - 20250309T205423Z-16bc6c9867bndw6zhC1SG1arb000000001yg000000007u3t x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -764,7 +936,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -773,9 +945,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:34 GMT + - Sun, 09 Mar 2025 20:54:23 GMT etag: - - '"94041636-0000-0200-0000-67cd594d0000"' + - '"9f0425ac-0000-0200-0000-67cdffe70000"' expires: - '-1' pragma: @@ -791,13 +963,56 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 684F50A781BE47E09308C7233280BBE8 Ref B: MAA201060516037 Ref C: 2025-03-09T09:03:34Z' + - 'Ref A: 6BD6FFAAED424A0B828C1A30D6AD103E Ref B: MAA201060513027 Ref C: 2025-03-09T20:54:23Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-cron + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:24 GMT + mise-correlation-id: + - 56bec02c-a4d4-48cc-bef7-0bed29475fac + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205424Z-16bc6c9867bxt797hC1SG12utn00000001bg00000000dh7a + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-cron"], "recurrence": - {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-09T09:02:37Z", + {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-09T20:53:23Z", "state": "Active", "displayName": "Cron Trigger", "description": "Trigger schedule for cron test case"}' headers: @@ -814,13 +1029,13 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Cron","cronExpression":"0 + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Cron","cronExpression":"0 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule - for cron test case","state":"Active","createdDateTime":"2025-03-09T09:03:35.957Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:35.957Z","lastModifiedBy":"hbisht@microsoft.com"}' + for cron test case","state":"Active","createdDateTime":"2025-03-09T20:54:24.922Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:24.922Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -831,15 +1046,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:36 GMT + - Sun, 09 Mar 2025 20:54:25 GMT location: - - https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + - https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview mise-correlation-id: - - f18997e7-ecc0-42fd-88f3-0b0e067761c6 + - aefe8796-b0db-4dd8-98f0-9a6557ae2220 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090335Z-167c755789dspngwhC1SG1te0g0000000z8000000000syq6 + - 20250309T205424Z-16bc6c9867bxt797hC1SG12utn00000001bg00000000dh81 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -862,7 +1077,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.5681563Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.5681563Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -871,9 +1086,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:36 GMT + - Sun, 09 Mar 2025 20:54:25 GMT etag: - - '"94041636-0000-0200-0000-67cd594d0000"' + - '"9f0425ac-0000-0200-0000-67cdffe70000"' expires: - '-1' pragma: @@ -887,9 +1102,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: F34E9CC2E9444C5680EA2AACEE422F5D Ref B: MAA201060514021 Ref C: 2025-03-09T09:03:36Z' + - 'Ref A: AA11E26A4C4E47B2818C67C6DFBD84FB Ref B: MAA201060514039 Ref C: 2025-03-09T20:54:25Z' status: code: 200 message: OK @@ -905,13 +1120,13 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://979d8b76-d099-4d0f-8bb5-21102a58bf50.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Cron","cronExpression":"0 + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Cron","cronExpression":"0 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule - for cron test case","state":"Active","createdDateTime":"2025-03-09T09:03:35.957Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:35.957Z","lastModifiedBy":"hbisht@microsoft.com"}' + for cron test case","state":"Active","createdDateTime":"2025-03-09T20:54:24.922Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:24.922Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -924,13 +1139,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:38 GMT + - Sun, 09 Mar 2025 20:54:26 GMT mise-correlation-id: - - f72d8539-4467-4639-9e05-d79ec8a8707a + - 108c50a0-bc79-44fc-bf7c-dda900e9dcb5 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090337Z-167c755789d4xm2whC1SG1zvh0000000107g000000005gyf + - 20250309T205425Z-16bc6c9867btmgl7hC1SG1qumc00000001xg000000009y5m x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml b/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml index 253540cece4..abe09f79e52 100644 --- a/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:48.6389532Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:48.6389532Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2c0328fe-d8e4-4dca-b317-0399673bc99f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1735285Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1735285Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:21 GMT + - Sun, 09 Mar 2025 20:54:05 GMT etag: - - '"94041e36-0000-0200-0000-67cd59510000"' + - '"9f04ebab-0000-0200-0000-67cdffe00000"' expires: - '-1' pragma: @@ -41,10 +41,53 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 58873B11FA7D48F084E63FAD6AD36DA1 Ref B: MAA201060516025 Ref C: 2025-03-09T09:03:21Z' + - 'Ref A: 4CD34B708FB5459ABC20C624147D0CC5 Ref B: MAA201060515035 Ref C: 2025-03-09T20:54:06Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-daily-trigger?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-daily-trigger + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:07 GMT + mise-correlation-id: + - 95fa6f1c-55fb-43ac-9309-db857ff91873 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205406Z-16bc6c9867btgkv4hC1SG1pnx8000000021g000000000wnb + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found - request: body: null headers: @@ -60,7 +103,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:48.6389532Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:48.6389532Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2c0328fe-d8e4-4dca-b317-0399673bc99f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1735285Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1735285Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -69,9 +112,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:22 GMT + - Sun, 09 Mar 2025 20:54:08 GMT etag: - - '"94041e36-0000-0200-0000-67cd59510000"' + - '"9f04ebab-0000-0200-0000-67cdffe00000"' expires: - '-1' pragma: @@ -87,10 +130,53 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 907568DFB6C647AB81EF4FF1CEA46B87 Ref B: MAA201060515045 Ref C: 2025-03-09T09:03:22Z' + - 'Ref A: 7BA0DE67CD854E4A8112719376ED73FE Ref B: MAA201060515025 Ref C: 2025-03-09T20:54:07Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-weekly-trigger?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-weekly-trigger + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:09 GMT + mise-correlation-id: + - c59e2d20-02bb-43c3-97fb-5654fcd087de + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205408Z-16bc6c9867bgcvffhC1SG1uu3n00000001tg000000002098 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found - request: body: null headers: @@ -106,7 +192,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:48.6389532Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:48.6389532Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2c0328fe-d8e4-4dca-b317-0399673bc99f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1735285Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1735285Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -115,9 +201,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:24 GMT + - Sun, 09 Mar 2025 20:54:10 GMT etag: - - '"94041e36-0000-0200-0000-67cd59510000"' + - '"9f04ebab-0000-0200-0000-67cdffe00000"' expires: - '-1' pragma: @@ -133,10 +219,53 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 20F9841CF6464D219A2F18365143E079 Ref B: MAA201060513027 Ref C: 2025-03-09T09:03:23Z' + - 'Ref A: 31808EAD5C494BCD966DD41F28073C96 Ref B: MAA201060513039 Ref C: 2025-03-09T20:54:09Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-dates-trigger?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-monthly-dates-trigger + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:11 GMT + mise-correlation-id: + - 7ad4941d-b5d6-4ef6-bee4-0cda580d602e + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205410Z-16bc6c9867bhn5b6hC1SG115gc00000001k00000000001zu + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found - request: body: null headers: @@ -152,7 +281,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:48.6389532Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:48.6389532Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2c0328fe-d8e4-4dca-b317-0399673bc99f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1735285Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1735285Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -161,9 +290,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:24 GMT + - Sun, 09 Mar 2025 20:54:12 GMT etag: - - '"94041e36-0000-0200-0000-67cd59510000"' + - '"9f04ebab-0000-0200-0000-67cdffe00000"' expires: - '-1' pragma: @@ -179,10 +308,53 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: FB0880B258CF4AC08EF2F57B9713621C Ref B: MAA201060514025 Ref C: 2025-03-09T09:03:24Z' + - 'Ref A: A50F3C9BB24D4308948C41B2B9B18826 Ref B: MAA201060513019 Ref C: 2025-03-09T20:54:11Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-days-trigger?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-monthly-days-trigger + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:13 GMT + mise-correlation-id: + - 5836a372-8e3c-4d28-bfdc-288563fe582a + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205412Z-16bc6c9867bgcvffhC1SG1uu3n00000001s0000000004c11 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found - request: body: null headers: @@ -198,7 +370,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:48.6389532Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:48.6389532Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2c0328fe-d8e4-4dca-b317-0399673bc99f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1735285Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1735285Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -207,9 +379,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:26 GMT + - Sun, 09 Mar 2025 20:54:14 GMT etag: - - '"94041e36-0000-0200-0000-67cd59510000"' + - '"9f04ebab-0000-0200-0000-67cdffe00000"' expires: - '-1' pragma: @@ -223,10 +395,53 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: 7E4DBA72BD3348A2B70E5BE643B91AE7 Ref B: MAA201060514011 Ref C: 2025-03-09T09:03:25Z' + - 'Ref A: 6A5893A5CD8C4F7DA2C02FF3F6130753 Ref B: MAA201060516035 Ref C: 2025-03-09T20:54:13Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-cron-trigger?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-cron-trigger + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:15 GMT + mise-correlation-id: + - 453bffd4-6bef-4062-b8ad-e49f89d06e79 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205415Z-16bc6c9867bpbnpmhC1SG1p0kn000000024000000000b7r4 + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found version: 1 diff --git a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml index 045beda2844..bbaad361c58 100644 --- a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1421393Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1421393Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"eda30514-3531-47b6-8a43-10e521a5a4de.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.7808572Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.7808572Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:18 GMT + - Sun, 09 Mar 2025 20:54:06 GMT etag: - - '"94040736-0000-0200-0000-67cd594b0000"' + - '"9f0428ac-0000-0200-0000-67cdffe70000"' expires: - '-1' pragma: @@ -41,13 +41,56 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 140A3CE39ED14F59A2F1B28476E1E4D5 Ref B: MAA201060516053 Ref C: 2025-03-09T09:03:18Z' + - 'Ref A: 338FD87C425B45A8A3A06CAFBF08CEB2 Ref B: MAA201060514027 Ref C: 2025-03-09T20:54:06Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-delete + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:07 GMT + mise-correlation-id: + - b82ee3a1-5590-4eb0-b448-c83d767774d7 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205407Z-16bc6c9867b2q4x9hC1SG1enhn00000001wg00000000ac0a + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-delete"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T09:02:37Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T20:53:23Z", "state": "Active", "displayName": "Delete Trigger", "description": "Trigger schedule for delete test case"}' headers: @@ -64,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://eda30514-3531-47b6-8a43-10e521a5a4de.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Delete + string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Delete Trigger","triggerId":"test-trigger-id-delete","description":"Trigger schedule - for delete test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.149Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.149Z","lastModifiedBy":"hbisht@microsoft.com"}' + for delete test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.905Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.905Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -80,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:21 GMT + - Sun, 09 Mar 2025 20:54:08 GMT location: - - https://eda30514-3531-47b6-8a43-10e521a5a4de.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + - https://84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview mise-correlation-id: - - 70cdbd67-9ccd-4171-9bb2-40b179c02c79 + - 80069298-6b98-4e89-9dbb-b9bdb8ce36f0 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090319Z-167c755789dkxplchC1SG1rzhw00000011ag000000005e9d + - 20250309T205407Z-16bc6c9867b2q4x9hC1SG1enhn00000001wg00000000ac15 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -111,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1421393Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1421393Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"eda30514-3531-47b6-8a43-10e521a5a4de.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.7808572Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.7808572Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -120,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:22 GMT + - Sun, 09 Mar 2025 20:54:08 GMT etag: - - '"94040736-0000-0200-0000-67cd594b0000"' + - '"9f0428ac-0000-0200-0000-67cdffe70000"' expires: - '-1' pragma: @@ -136,9 +179,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16497' x-msedge-ref: - - 'Ref A: C093894CA5EF4BAEB88C5D8E3A6AD06D Ref B: MAA201060514027 Ref C: 2025-03-09T09:03:21Z' + - 'Ref A: 86193051B09945C09C4B86827EAF501A Ref B: MAA201060514035 Ref C: 2025-03-09T20:54:08Z' status: code: 200 message: OK @@ -156,7 +199,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: DELETE - uri: https://eda30514-3531-47b6-8a43-10e521a5a4de.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: string: '' @@ -166,13 +209,13 @@ interactions: connection: - keep-alive date: - - Sun, 09 Mar 2025 09:03:23 GMT + - Sun, 09 Mar 2025 20:54:09 GMT mise-correlation-id: - - c733234f-db82-4a1b-8de2-a74835bab928 + - fc2fb1f3-8ced-42ed-a0ee-4fbdf06193be strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090322Z-16bc6c9867bzh7v7hC1SG1u0z800000000tg000000004ax2 + - 20250309T205408Z-16bc6c9867bh79t4hC1SG1qqen00000000x0000000002zmh x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -195,7 +238,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1421393Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1421393Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"eda30514-3531-47b6-8a43-10e521a5a4de.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.7808572Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.7808572Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -204,9 +247,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:25 GMT + - Sun, 09 Mar 2025 20:54:09 GMT etag: - - '"94040736-0000-0200-0000-67cd594b0000"' + - '"9f0428ac-0000-0200-0000-67cdffe70000"' expires: - '-1' pragma: @@ -222,7 +265,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: D0570EA2BB5B4D2F80A3394CFB1FA5DE Ref B: MAA201060516045 Ref C: 2025-03-09T09:03:24Z' + - 'Ref A: 9678A7728EC347338040AA84C4E3FE00 Ref B: MAA201060515035 Ref C: 2025-03-09T20:54:09Z' status: code: 200 message: OK @@ -238,7 +281,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://eda30514-3531-47b6-8a43-10e521a5a4de.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: string: '{"value":[]}' @@ -254,13 +297,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:25 GMT + - Sun, 09 Mar 2025 20:54:11 GMT mise-correlation-id: - - bdfae741-126c-48ed-805c-131a5698764d + - 617a2937-dcbd-4f2e-89da-84419eb67147 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090325Z-167c755789dspngwhC1SG1te0g0000000ze0000000003hkf + - 20250309T205410Z-16bc6c9867btgkv4hC1SG1pnx800000001vg00000000b49b x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml index 7d5d4fc9c76..fd37c255c27 100644 --- a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1201564Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1201564Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.4400632Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.4400632Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:18 GMT + - Sun, 09 Mar 2025 20:54:04 GMT etag: - - '"94040536-0000-0200-0000-67cd594b0000"' + - '"9f0406ac-0000-0200-0000-67cdffe40000"' expires: - '-1' pragma: @@ -41,13 +41,56 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: B526C2257ED34581B5EA8CE325424DDE Ref B: MAA201060514023 Ref C: 2025-03-09T09:03:18Z' + - 'Ref A: 8925B931DAB9480CBAC1CB469E93158B Ref B: MAA201060514021 Ref C: 2025-03-09T20:54:04Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-enable + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:05 GMT + mise-correlation-id: + - 32718a35-351d-47d1-ab71-e75df5ed0394 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205405Z-16bc6c9867bndw6zhC1SG1arb000000001yg000000007szg + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-enable"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T09:02:37Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T20:53:23Z", "state": "Active", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case"}' headers: @@ -64,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T09:03:19.967Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:19.967Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T20:54:06.112Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:06.112Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -80,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:20 GMT + - Sun, 09 Mar 2025 20:54:06 GMT location: - - https://ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + - https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview mise-correlation-id: - - 0714acb8-aebc-49be-8aeb-18c233167d53 + - 2303ae5e-c343-41cc-828a-f67f8abfb187 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090319Z-167c755789d9flxvhC1SG1ucs4000000107g000000007v5t + - 20250309T205405Z-16bc6c9867bndw6zhC1SG1arb000000001yg000000007t12 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -111,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1201564Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1201564Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.4400632Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.4400632Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -120,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:20 GMT + - Sun, 09 Mar 2025 20:54:06 GMT etag: - - '"94040536-0000-0200-0000-67cd594b0000"' + - '"9f0406ac-0000-0200-0000-67cdffe40000"' expires: - '-1' pragma: @@ -138,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: F14E4DE1DDC24F998984C42248F1ACEF Ref B: MAA201060513037 Ref C: 2025-03-09T09:03:20Z' + - 'Ref A: F79EC94CDA8248B2BD7698B98E635D5A Ref B: MAA201060516011 Ref C: 2025-03-09T20:54:06Z' status: code: 200 message: OK @@ -154,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T09:03:19.967Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:19.967Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T20:54:06.112Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:06.112Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -172,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:21 GMT + - Sun, 09 Mar 2025 20:54:08 GMT mise-correlation-id: - - 50572fb9-9c6f-4255-aaa9-4cebbdbbeff3 + - 56d87349-25c2-4316-a3c6-68da10ffc332 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090320Z-167c755789dh5d2xhC1SG1c6dc00000010g000000000fm15 + - 20250309T205407Z-16bc6c9867bxt797hC1SG12utn00000001cg00000000ahrz x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -187,7 +230,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T09:02:37Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T20:53:23Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case", "state": "Paused"}' @@ -205,12 +248,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Paused","createdDateTime":"2025-03-09T09:03:19.967Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.807Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Paused","createdDateTime":"2025-03-09T20:54:06.112Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:08.333Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -223,13 +266,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:21 GMT + - Sun, 09 Mar 2025 20:54:08 GMT mise-correlation-id: - - c4bb2cd6-55c9-4714-bdde-b617f3f54a5c + - 12438fd5-43af-4ff8-af34-fcd6457317e6 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090321Z-167c755789dh5d2xhC1SG1c6dc00000010g000000000fm2w + - 20250309T205408Z-16bc6c9867bxt797hC1SG12utn00000001cg00000000ahtp x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -252,7 +295,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1201564Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1201564Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.4400632Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.4400632Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -261,9 +304,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:23 GMT + - Sun, 09 Mar 2025 20:54:08 GMT etag: - - '"94040536-0000-0200-0000-67cd594b0000"' + - '"9f0406ac-0000-0200-0000-67cdffe40000"' expires: - '-1' pragma: @@ -279,7 +322,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16498' x-msedge-ref: - - 'Ref A: 6C10B847619440D09AACB2120152517D Ref B: MAA201060513047 Ref C: 2025-03-09T09:03:22Z' + - 'Ref A: 8E400CA89ADE469B8F97194BD947F2D1 Ref B: MAA201060514053 Ref C: 2025-03-09T20:54:08Z' status: code: 200 message: OK @@ -295,12 +338,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Paused","createdDateTime":"2025-03-09T09:03:19.967Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.807Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Paused","createdDateTime":"2025-03-09T20:54:06.112Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:08.333Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -313,13 +356,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:23 GMT + - Sun, 09 Mar 2025 20:54:09 GMT mise-correlation-id: - - e0d21c24-480f-45d4-8bc9-5253c111a7c8 + - e03a8a53-c1c0-4db7-a02c-13435b2ad0b6 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090323Z-167c755789drsd6jhC1SG13zv400000010cg0000000042gx + - 20250309T205409Z-16bc6c9867bpbnpmhC1SG1p0kn000000022g00000000er8h x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -328,7 +371,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T09:02:37Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T20:53:23Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case", "state": "Active"}' @@ -346,12 +389,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T09:03:19.967Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:24.126Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T20:54:06.112Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:10.023Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -364,13 +407,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:24 GMT + - Sun, 09 Mar 2025 20:54:10 GMT mise-correlation-id: - - b3691066-1e9c-492b-a343-d6f8b7061ab2 + - 0fa1191b-768c-4442-af14-94a4d84af428 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090323Z-167c755789drsd6jhC1SG13zv400000010cg0000000042na + - 20250309T205409Z-16bc6c9867bpbnpmhC1SG1p0kn000000022g00000000er9h x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -393,7 +436,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1201564Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1201564Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.4400632Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.4400632Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -402,9 +445,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:24 GMT + - Sun, 09 Mar 2025 20:54:10 GMT etag: - - '"94040536-0000-0200-0000-67cd594b0000"' + - '"9f0406ac-0000-0200-0000-67cdffe40000"' expires: - '-1' pragma: @@ -418,9 +461,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: 636A777D492947C49197BA13E38A8C27 Ref B: MAA201060515027 Ref C: 2025-03-09T09:03:24Z' + - 'Ref A: 0849C32EA8E74D83AC56CE984673BD19 Ref B: MAA201060515045 Ref C: 2025-03-09T20:54:10Z' status: code: 200 message: OK @@ -436,12 +479,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://ca216992-5ca5-47dd-baeb-922fc1fb416f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T09:03:19.967Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:24.126Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T20:54:06.112Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:10.023Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -454,13 +497,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:25 GMT + - Sun, 09 Mar 2025 20:54:12 GMT mise-correlation-id: - - 868b9f38-36c4-42e0-a518-f9a59321831f + - 61cda85b-e1d7-4e39-92ea-0d70bbb7d1d9 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090325Z-167c755789dspngwhC1SG1te0g0000000ze0000000003hhz + - 20250309T205411Z-16bc6c9867bbrkwghC1SG1yvwc00000001fg000000007m2x x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml index 6dbb0c82204..37b4de05f16 100644 --- a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.1408689Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.1408689Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"03ef5728-c8a0-4e1f-808d-c8cbdc366c2b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.7476236Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.7476236Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"16905fb1-8ef1-449b-8fff-2f43aba21269.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:20 GMT + - Sun, 09 Mar 2025 20:54:06 GMT etag: - - '"94041236-0000-0200-0000-67cd594d0000"' + - '"9f0416ac-0000-0200-0000-67cdffe50000"' expires: - '-1' pragma: @@ -41,13 +41,56 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 4BECE776307F4F709CA7CD2C578CC011 Ref B: MAA201060514047 Ref C: 2025-03-09T09:03:19Z' + - 'Ref A: 119AB9C5D45E4C35801A818CD489DF14 Ref B: MAA201060515029 Ref C: 2025-03-09T20:54:05Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://16905fb1-8ef1-449b-8fff-2f43aba21269.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-list + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:07 GMT + mise-correlation-id: + - 576f4845-4829-4ae8-863b-9f1b8e0d4369 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205406Z-16bc6c9867bzh7v7hC1SG1u0z8000000026g000000006z3q + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-list"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T09:02:37Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T20:53:23Z", "state": "Active", "displayName": "List Trigger", "description": "Trigger schedule for list test case"}' headers: @@ -64,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://03ef5728-c8a0-4e1f-808d-c8cbdc366c2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + uri: https://16905fb1-8ef1-449b-8fff-2f43aba21269.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"List Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule - for list test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.268Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.268Z","lastModifiedBy":"hbisht@microsoft.com"}' + for list test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.271Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.271Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -80,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:21 GMT + - Sun, 09 Mar 2025 20:54:07 GMT location: - - https://03ef5728-c8a0-4e1f-808d-c8cbdc366c2b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + - https://16905fb1-8ef1-449b-8fff-2f43aba21269.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview mise-correlation-id: - - d4bfaa2b-7050-4a12-a18b-947fb118a2ee + - 53796ba8-c9e0-4b70-bbd0-70f2622323a8 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090320Z-16b6c7c97bdv462zhC1SG1q2vc0000000dx00000000014hx + - 20250309T205407Z-16bc6c9867bzh7v7hC1SG1u0z8000000026g000000006z5n x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -111,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.1408689Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.1408689Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"03ef5728-c8a0-4e1f-808d-c8cbdc366c2b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.7476236Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.7476236Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"16905fb1-8ef1-449b-8fff-2f43aba21269.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -120,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:21 GMT + - Sun, 09 Mar 2025 20:54:08 GMT etag: - - '"94041236-0000-0200-0000-67cd594d0000"' + - '"9f0416ac-0000-0200-0000-67cdffe50000"' expires: - '-1' pragma: @@ -138,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 523537FD89644F9A83C78EBBB1E61EB1 Ref B: MAA201060515017 Ref C: 2025-03-09T09:03:21Z' + - 'Ref A: 0A96CA479D2D41C3B4DF11E28D408522 Ref B: MAA201060513037 Ref C: 2025-03-09T20:54:07Z' status: code: 200 message: OK @@ -154,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://03ef5728-c8a0-4e1f-808d-c8cbdc366c2b.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://16905fb1-8ef1-449b-8fff-2f43aba21269.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: - string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"List Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule - for list test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.268Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.268Z","lastModifiedBy":"hbisht@microsoft.com"}]}' + for list test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.271Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.271Z","lastModifiedBy":"hbisht@microsoft.com"}]}' headers: accept-ranges: - bytes @@ -172,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:22 GMT + - Sun, 09 Mar 2025 20:54:09 GMT mise-correlation-id: - - 214082b5-a11e-4300-91c2-8f97f7853640 + - aa8e9b5d-9739-4338-80a0-589ab9cd7c32 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090322Z-16b6c7c97bdv462zhC1SG1q2vc0000000dw0000000001tua + - 20250309T205408Z-16bc6c9867btmgl7hC1SG1qumc00000001xg000000009wgb x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml index 62ae7fd2a07..091a0629411 100644 --- a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1318678Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1318678Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1669562Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1669562Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:18 GMT + - Sun, 09 Mar 2025 20:54:05 GMT etag: - - '"94041436-0000-0200-0000-67cd594d0000"' + - '"9f04edab-0000-0200-0000-67cdffe00000"' expires: - '-1' pragma: @@ -41,13 +41,56 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 28C422FAE9D14EB8865B23F904DF035E Ref B: MAA201060514023 Ref C: 2025-03-09T09:03:18Z' + - 'Ref A: 7672BC9329CE42C291CB27FB22CE97A8 Ref B: MAA201060515025 Ref C: 2025-03-09T20:54:04Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-pause + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:06 GMT + mise-correlation-id: + - 0a4ae66e-022d-4fbc-be9d-97bff1b2a045 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205405Z-16bc6c9867b562q7hC1SG1b75000000001mg00000000cwdp + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-pause"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T09:02:37Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T20:53:23Z", "state": "Active", "displayName": "Pause Trigger", "description": "Trigger schedule for pause test case"}' headers: @@ -64,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Active","createdDateTime":"2025-03-09T09:03:20.022Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:20.022Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Active","createdDateTime":"2025-03-09T20:54:06.761Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:06.761Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -80,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:20 GMT + - Sun, 09 Mar 2025 20:54:06 GMT location: - - https://e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + - https://bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview mise-correlation-id: - - c0032546-f1ac-4628-bd29-ffcd385248a6 + - 1c690f36-c973-4c24-9597-ca3e3bafa472 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090319Z-16b6c7c97bd669r7hC1SG1gdxn0000000dr00000000079pm + - 20250309T205406Z-16bc6c9867b562q7hC1SG1b75000000001mg00000000cwfb x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -111,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1318678Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1318678Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1669562Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1669562Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -120,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:21 GMT + - Sun, 09 Mar 2025 20:54:07 GMT etag: - - '"94041436-0000-0200-0000-67cd594d0000"' + - '"9f04edab-0000-0200-0000-67cdffe00000"' expires: - '-1' pragma: @@ -138,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: AA73C184E7B945579D0FD7DB069E7EB9 Ref B: MAA201060515025 Ref C: 2025-03-09T09:03:20Z' + - 'Ref A: 78E6C002D97146BFB8FF9836B48C5154 Ref B: MAA201060515031 Ref C: 2025-03-09T20:54:07Z' status: code: 200 message: OK @@ -154,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Active","createdDateTime":"2025-03-09T09:03:20.022Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:20.022Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Active","createdDateTime":"2025-03-09T20:54:06.761Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:06.761Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -172,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:22 GMT + - Sun, 09 Mar 2025 20:54:08 GMT mise-correlation-id: - - e59f395c-abb1-499f-948a-24499f085925 + - 2a3b38e8-12e4-4ea4-af39-178a2d0fe38a strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090321Z-167c755789d4xm2whC1SG1zvh0000000101g00000000tgg6 + - 20250309T205408Z-16bc6c9867btmgl7hC1SG1qumc00000001y0000000008z0r x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -187,7 +230,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-09T09:02:37Z", + body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-09T20:53:23Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Pause Trigger", "description": "Trigger schedule for pause test case", "state": "Paused"}' @@ -205,12 +248,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Paused","createdDateTime":"2025-03-09T09:03:20.022Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:23.876Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Paused","createdDateTime":"2025-03-09T20:54:06.761Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:08.988Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -223,13 +266,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:24 GMT + - Sun, 09 Mar 2025 20:54:09 GMT mise-correlation-id: - - f67eb7c0-b69c-46fd-a492-61fde46b4636 + - b0ce4924-5cac-4ed4-8c91-bbb1df85f99c strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090322Z-167c755789d4xm2whC1SG1zvh0000000101g00000000tgmd + - 20250309T205408Z-16bc6c9867btmgl7hC1SG1qumc00000001y0000000008z1h x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -252,7 +295,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:45.1318678Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:45.1318678Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1669562Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1669562Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -261,9 +304,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:24 GMT + - Sun, 09 Mar 2025 20:54:09 GMT etag: - - '"94041436-0000-0200-0000-67cd594d0000"' + - '"9f04edab-0000-0200-0000-67cdffe00000"' expires: - '-1' pragma: @@ -277,9 +320,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: 3F68660D87A4416DB618A4D8D1FB8B7D Ref B: MAA201060514049 Ref C: 2025-03-09T09:03:24Z' + - 'Ref A: 8D99847822AC457593D5ACA4DB364C82 Ref B: MAA201060513019 Ref C: 2025-03-09T20:54:09Z' status: code: 200 message: OK @@ -295,12 +338,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://e466ef0f-d466-417d-a05b-bfd0385d72b5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Paused","createdDateTime":"2025-03-09T09:03:20.022Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:23.876Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Paused","createdDateTime":"2025-03-09T20:54:06.761Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:08.988Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -313,13 +356,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:25 GMT + - Sun, 09 Mar 2025 20:54:11 GMT mise-correlation-id: - - 2b0a5ff4-6d10-47eb-a24b-9fe8508b35fa + - 141809cc-320e-4f18-9e13-6b747e528d98 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090324Z-167c755789dpktj6hC1SG1nr6800000011gg0000000057z7 + - 20250309T205410Z-16bc6c9867bc9m42hC1SG1edwg000000027g0000000047vu x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml index f98aaf351dc..17afe06b424 100644 --- a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.3835566Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.3835566Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"5baa46f2-54c3-4a77-8bf8-9777dde46a3b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:29.8958576Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:29.8958576Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"fdd504e6-9fc6-4390-a946-50cb8d05e39f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:20 GMT + - Sun, 09 Mar 2025 20:54:05 GMT etag: - - '"94041036-0000-0200-0000-67cd594d0000"' + - '"9f04ffab-0000-0200-0000-67cdffe30000"' expires: - '-1' pragma: @@ -41,13 +41,56 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 9E39A0F67B5C4F49B0F0F39BC0024D7A Ref B: MAA201060514045 Ref C: 2025-03-09T09:03:20Z' + - 'Ref A: B61B6F409CCF444795921B9040D435F0 Ref B: MAA201060513027 Ref C: 2025-03-09T20:54:05Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://fdd504e6-9fc6-4390-a946-50cb8d05e39f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-update + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:07 GMT + mise-correlation-id: + - 85b211fb-7f48-4881-9b38-1ebde8849abc + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205406Z-16bc6c9867bxt797hC1SG12utn00000001bg00000000dfsq + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T09:02:37Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T20:53:23Z", "state": "Active", "displayName": "Update Trigger", "description": "Trigger schedule for update test case"}' headers: @@ -64,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://5baa46f2-54c3-4a77-8bf8-9777dde46a3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://fdd504e6-9fc6-4390-a946-50cb8d05e39f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:22.308Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:22.308Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.201Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.201Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -80,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:22 GMT + - Sun, 09 Mar 2025 20:54:07 GMT location: - - https://5baa46f2-54c3-4a77-8bf8-9777dde46a3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + - https://fdd504e6-9fc6-4390-a946-50cb8d05e39f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview mise-correlation-id: - - af4aa07f-0698-4bab-bcb0-d3ef6c0cbd5a + - 66f1fc4a-7596-4d8e-9abe-fc0993df1ef7 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090321Z-16bc6c9867bdwvrkhC1SG1q1as00000000qg00000000dyn2 + - 20250309T205407Z-16bc6c9867bxt797hC1SG12utn00000001bg00000000dfur x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -111,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.3835566Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.3835566Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"5baa46f2-54c3-4a77-8bf8-9777dde46a3b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:29.8958576Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:29.8958576Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"fdd504e6-9fc6-4390-a946-50cb8d05e39f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -120,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:22 GMT + - Sun, 09 Mar 2025 20:54:07 GMT etag: - - '"94041036-0000-0200-0000-67cd594d0000"' + - '"9f04ffab-0000-0200-0000-67cdffe30000"' expires: - '-1' pragma: @@ -136,9 +179,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: 4C9C2423DB3B4E658107BDFCE710C671 Ref B: MAA201060514025 Ref C: 2025-03-09T09:03:22Z' + - 'Ref A: E25D24CC971443F5B28E069A3F288869 Ref B: MAA201060513053 Ref C: 2025-03-09T20:54:07Z' status: code: 200 message: OK @@ -154,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://5baa46f2-54c3-4a77-8bf8-9777dde46a3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://fdd504e6-9fc6-4390-a946-50cb8d05e39f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:22.308Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:22.308Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.201Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.201Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -172,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:24 GMT + - Sun, 09 Mar 2025 20:54:09 GMT mise-correlation-id: - - 7346b5fe-4f18-4a59-b0c3-471f50c55425 + - 4e8c3d43-9165-420d-a39a-6dc158847403 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090323Z-167c755789djnhhnhC1SG1sch000000011pg00000000fsg0 + - 20250309T205408Z-16bc6c9867bljt59hC1SG1cz54000000020g000000001uhn x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -205,12 +248,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://5baa46f2-54c3-4a77-8bf8-9777dde46a3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://fdd504e6-9fc6-4390-a946-50cb8d05e39f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: string: '{"testIds":["test-id-update"],"startDateTime":"2025-04-01T00:00:00Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":2},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-14T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Updated Test Trigger","triggerId":"test-trigger-id-update","description":"Updated - test trigger schedule","createdDateTime":"2025-03-09T09:03:22.308Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:24.515Z","lastModifiedBy":"hbisht@microsoft.com"}' + test trigger schedule","createdDateTime":"2025-03-09T20:54:07.201Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:09.434Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -223,13 +266,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:24 GMT + - Sun, 09 Mar 2025 20:54:09 GMT mise-correlation-id: - - 6605bfb4-af6f-4eae-8618-1115fafeb098 + - 4b37ad28-5345-45a2-8736-1f372927ebcd strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090324Z-167c755789djnhhnhC1SG1sch000000011pg00000000fsm0 + - 20250309T205409Z-16bc6c9867bljt59hC1SG1cz54000000020g000000001um0 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml index a415455f82c..bddfdef0be9 100644 --- a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.0349157Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.0349157Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.5457167Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.5457167Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:20 GMT + - Sun, 09 Mar 2025 20:54:05 GMT etag: - - '"94042036-0000-0200-0000-67cd59510000"' + - '"9f04faab-0000-0200-0000-67cdffe20000"' expires: - '-1' pragma: @@ -41,13 +41,56 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 94978C14E2694FFFBEEF84121EF0A078 Ref B: MAA201060516017 Ref C: 2025-03-09T09:03:19Z' + - 'Ref A: CE9438A18F0F4C60863E1654E4FC43AF Ref B: MAA201060514021 Ref C: 2025-03-09T20:54:05Z' status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + method: GET + uri: https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + response: + body: + string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: update-invalid-trigger + not found.","target":null,"details":null}}' + headers: + api-supported-versions: + - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview + connection: + - keep-alive + content-type: + - application/json + date: + - Sun, 09 Mar 2025 20:54:07 GMT + mise-correlation-id: + - 29dfa6e2-8964-4532-abb8-e73b2584799d + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + x-azure-ref: + - 20250309T205406Z-16bc6c9867bfx5n4hC1SG10fvg00000001s0000000006g5x + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-error-code: + - TriggerNotFound + status: + code: 404 + message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T09:02:37Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T20:53:24Z", "state": "Active", "displayName": "Update Trigger", "description": "Trigger schedule for update test case"}' headers: @@ -64,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:24Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:24Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.792Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.792Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.287Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -80,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:21 GMT + - Sun, 09 Mar 2025 20:54:07 GMT location: - - https://bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + - https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview mise-correlation-id: - - 7dbde9f7-95f0-4d4b-b3ea-85d3183f3716 + - 2357e087-2e4e-4e29-b4a4-92948dc9b801 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090321Z-16bc6c9867bc9m42hC1SG1edwg00000000p000000000e5ey + - 20250309T205407Z-16bc6c9867bfx5n4hC1SG10fvg00000001s0000000006g7b x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -111,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.0349157Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.0349157Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.5457167Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.5457167Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -120,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:23 GMT + - Sun, 09 Mar 2025 20:54:08 GMT etag: - - '"94042036-0000-0200-0000-67cd59510000"' + - '"9f04faab-0000-0200-0000-67cdffe20000"' expires: - '-1' pragma: @@ -138,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: B5843AB2A7B14612BB44A2BBA0F56D6A Ref B: MAA201060514037 Ref C: 2025-03-09T09:03:22Z' + - 'Ref A: D941C5B1D3C24F93B2922B64A6984F77 Ref B: MAA201060516033 Ref C: 2025-03-09T20:54:07Z' status: code: 200 message: OK @@ -154,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:24Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:24Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.792Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.792Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.287Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -172,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:23 GMT + - Sun, 09 Mar 2025 20:54:09 GMT mise-correlation-id: - - 2432034b-4259-4136-b19b-243405a1ba3b + - 3e41f274-ac58-4527-acfd-aea6ec83a9f4 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090323Z-167c755789dh5d2xhC1SG1c6dc00000010hg00000000b14q + - 20250309T205408Z-16bc6c9867bwklg4hC1SG166x000000002900000000018tq x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -201,7 +244,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.0349157Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.0349157Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.5457167Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.5457167Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -210,9 +253,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:24 GMT + - Sun, 09 Mar 2025 20:54:09 GMT etag: - - '"94042036-0000-0200-0000-67cd59510000"' + - '"9f04faab-0000-0200-0000-67cdffe20000"' expires: - '-1' pragma: @@ -228,7 +271,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 98CB2F8C3B76471891B884369CE2533A Ref B: MAA201060514033 Ref C: 2025-03-09T09:03:23Z' + - 'Ref A: DA27EF670B6D409F9DADE8A46C57F573 Ref B: MAA201060516017 Ref C: 2025-03-09T20:54:09Z' status: code: 200 message: OK @@ -244,12 +287,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:24Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:24Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.792Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.792Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.287Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -262,13 +305,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:25 GMT + - Sun, 09 Mar 2025 20:54:11 GMT mise-correlation-id: - - baa6b724-7aae-4137-84ff-6230f4584436 + - 66d387f5-8229-4676-a680-3dcc2b8d8e8f strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090324Z-16bc6c9867bpbnpmhC1SG1p0kn00000000qg000000009sb3 + - 20250309T205410Z-16bc6c9867bfx5n4hC1SG10fvg00000001qg000000009f6w x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -291,7 +334,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.0349157Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.0349157Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.5457167Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.5457167Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -300,9 +343,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:27 GMT + - Sun, 09 Mar 2025 20:54:12 GMT etag: - - '"94042036-0000-0200-0000-67cd59510000"' + - '"9f04faab-0000-0200-0000-67cdffe20000"' expires: - '-1' pragma: @@ -316,9 +359,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16497' + - '16499' x-msedge-ref: - - 'Ref A: 59A9DCA726EE4E1DBF3101568460B56A Ref B: MAA201060515023 Ref C: 2025-03-09T09:03:27Z' + - 'Ref A: 32C2F74AF0634733AF23D3243F26EAAD Ref B: MAA201060513049 Ref C: 2025-03-09T20:54:11Z' status: code: 200 message: OK @@ -334,12 +377,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:24Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:24Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.792Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.792Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.287Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -352,13 +395,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:28 GMT + - Sun, 09 Mar 2025 20:54:13 GMT mise-correlation-id: - - ad6be07c-5b25-4013-bdc9-857455ac2979 + - 03f74ff6-fa9d-4d62-ad0a-7425e328c1ab strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090328Z-167c755789djnhhnhC1SG1sch000000011u0000000000b6v + - 20250309T205412Z-16bc6c9867bljt59hC1SG1cz5400000001y0000000006e3n x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -381,7 +424,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.0349157Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.0349157Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.5457167Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.5457167Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -390,9 +433,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:29 GMT + - Sun, 09 Mar 2025 20:54:13 GMT etag: - - '"94042036-0000-0200-0000-67cd59510000"' + - '"9f04faab-0000-0200-0000-67cdffe20000"' expires: - '-1' pragma: @@ -408,7 +451,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: C9E11087F6A242A9BCBFFE6B50216493 Ref B: MAA201060513045 Ref C: 2025-03-09T09:03:28Z' + - 'Ref A: C496816C4BAD4E92B54657537B6DC084 Ref B: MAA201060516023 Ref C: 2025-03-09T20:54:13Z' status: code: 200 message: OK @@ -424,12 +467,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:24Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:24Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.792Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.792Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.287Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -442,13 +485,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:30 GMT + - Sun, 09 Mar 2025 20:54:15 GMT mise-correlation-id: - - 9a663662-f4a7-452f-9584-fc64dd9476a8 + - 070e9dfa-0241-4e4d-add8-0be3a9f98a2d strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090330Z-16bc6c9867b7lcnnhC1SG1ga7c00000000p000000000ag8g + - 20250309T205414Z-16bc6c9867b2q4x9hC1SG1enhn00000001x0000000009x7z x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -471,7 +514,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T09:02:46.0349157Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T09:02:46.0349157Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.5457167Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.5457167Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -480,9 +523,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:31 GMT + - Sun, 09 Mar 2025 20:54:16 GMT etag: - - '"94042036-0000-0200-0000-67cd59510000"' + - '"9f04faab-0000-0200-0000-67cdffe20000"' expires: - '-1' pragma: @@ -498,7 +541,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 3876B3AF04C8446C8BEF59B9441C4FD9 Ref B: MAA201060515049 Ref C: 2025-03-09T09:03:31Z' + - 'Ref A: 5C04929BEF884FB6B952D0E14B68556E Ref B: MAA201060513039 Ref C: 2025-03-09T20:54:15Z' status: code: 200 message: OK @@ -514,12 +557,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://bba3fee8-69fa-46f2-b2e1-1ffd97ab834a.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T09:02:37Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T09:02:37Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:24Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:24Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T09:03:21.792Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T09:03:21.792Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.287Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -532,13 +575,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 09:03:32 GMT + - Sun, 09 Mar 2025 20:54:17 GMT mise-correlation-id: - - 18ddd758-4c86-4d95-82dc-47279c1bd73d + - 8ef06f50-7f93-4796-9ec2-82c703aaa9c6 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T090331Z-16bc6c9867b29tpvhC1SG1h26w00000000u00000000027dy + - 20250309T205416Z-16bc6c9867bh79t4hC1SG1qqen00000001500000000001cn x-cache: - CONFIG_NOCACHE x-content-type-options: From efde31d62481a42f51c2c482d8219ca60da0b35d Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Sun, 9 Mar 2025 21:33:08 +0000 Subject: [PATCH 09/16] linting and styling --- .../data_plane/load_trigger/commands.py | 4 +- .../data_plane/load_trigger/custom.py | 31 +- .../data_plane/load_trigger/help.py | 9 +- .../data_plane/load_trigger/params.py | 2 - .../data_plane/load_trigger/utils.py | 29 +- .../azext_load/data_plane/utils/argtypes.py | 7 +- .../azext_load/data_plane/utils/models.py | 3 +- .../azext_load/data_plane/utils/validators.py | 8 +- ...t_create_and_verify_trigger_schedules.yaml | 266 +++++++++--------- ...create_trigger_schedule_invalid_cases.yaml | 80 +++--- .../test_delete_trigger_schedule.yaml | 74 ++--- .../test_enable_trigger_schedule.yaml | 122 ++++---- .../test_list_trigger_schedules.yaml | 56 ++-- .../test_pause_trigger_schedule.yaml | 96 +++---- .../test_update_trigger_schedule.yaml | 62 ++-- ...update_trigger_schedule_invalid_cases.yaml | 132 ++++----- 16 files changed, 496 insertions(+), 485 deletions(-) diff --git a/src/load/azext_load/data_plane/load_trigger/commands.py b/src/load/azext_load/data_plane/load_trigger/commands.py index 31f80daf4d9..86f10b8d7f4 100644 --- a/src/load/azext_load/data_plane/load_trigger/commands.py +++ b/src/load/azext_load/data_plane/load_trigger/commands.py @@ -3,8 +3,6 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -from azext_load.data_plane.utils import validators -from azext_load.data_plane.utils.constants import LoadCommandsConstants from azure.cli.core.commands import CliCommandType admin_custom_sdk = CliCommandType( @@ -27,4 +25,4 @@ def load_trigger_schedule_commands(self, _): g.custom_show_command("show", "get_trigger_schedule") g.custom_command("pause", "pause_trigger_schedule") g.custom_command("enable", "enable_trigger_schedule") - g.custom_command("list", "list_trigger_schedules") \ No newline at end of file + g.custom_command("list", "list_trigger_schedules") diff --git a/src/load/azext_load/data_plane/load_trigger/custom.py b/src/load/azext_load/data_plane/load_trigger/custom.py index 63a250349e3..251a13a5d2e 100644 --- a/src/load/azext_load/data_plane/load_trigger/custom.py +++ b/src/load/azext_load/data_plane/load_trigger/custom.py @@ -3,18 +3,17 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -from azext_load.data_plane.utils.utils import ( - get_admin_data_plane_client, - ) - from azure.core.exceptions import ResourceNotFoundError from azure.cli.core.azclierror import InvalidArgumentValueError from knack.log import get_logger -from azext_load.vendored_sdks.loadtesting.models import ( _models as models, _enums as enums) -import azext_load.data_plane.load_trigger.utils as utils +from azext_load.data_plane.utils.utils import ( + get_admin_data_plane_client) +from azext_load.vendored_sdks.loadtesting.models import (_models as models, _enums as enums) +from azext_load.data_plane.load_trigger import utils logger = get_logger(__name__) + def create_trigger_schedule( cmd, load_test_resource, @@ -45,7 +44,7 @@ def create_trigger_schedule( recurrence_end_body = utils.get_recurrence_end_body( end_after_occurrence, end_after_date_time, - ) + ) logger.debug("Recurrence end object: %s", recurrence_end_body) recurrence_body = utils.get_recurrence_body( recurrence_type, @@ -60,7 +59,7 @@ def create_trigger_schedule( trigger_body = models.ScheduleTestsTrigger( test_ids=test_ids, recurrence=recurrence_body, - start_date_time= trigger_start_date_time, + start_date_time=trigger_start_date_time, state=enums.TriggerState.ACTIVE, display_name=display_name, description=description, @@ -99,7 +98,7 @@ def update_trigger_schedule( existing_trigger_schedule: models.ScheduleTestsTrigger = None try: existing_trigger_schedule = client.get_trigger(trigger_id) - except ResourceNotFoundError as e: + except ResourceNotFoundError: msg = "Schedule trigger with id: {} does not exists.".format(trigger_id) logger.debug(msg) raise InvalidArgumentValueError(msg) @@ -139,6 +138,7 @@ def update_trigger_schedule( logger.error("Error occurred while updating schedule trigger: %s", str(e)) raise + def delete_trigger_schedule( cmd, load_test_resource, @@ -181,7 +181,7 @@ def pause_trigger_schedule( existing_trigger_schedule: models.ScheduleTestsTrigger = None try: existing_trigger_schedule = client.get_trigger(trigger_id) - except ResourceNotFoundError as e: + except ResourceNotFoundError: msg = "Schedule trigger with id: {} does not exists.".format(trigger_id) logger.debug(msg) raise InvalidArgumentValueError(msg) @@ -191,8 +191,8 @@ def pause_trigger_schedule( response = client.create_or_update_trigger(trigger_id=trigger_id, body=existing_trigger_schedule) logger.debug("Paused schedule trigger: %s", response) return response - else: - logger.error("Schedule trigger is not active. It is in %s state.", existing_trigger_schedule.state.value) + logger.error("Schedule trigger is not active. It is in %s state.", existing_trigger_schedule.state.value) + def enable_trigger_schedule( cmd, @@ -207,7 +207,7 @@ def enable_trigger_schedule( existing_trigger_schedule: models.ScheduleTestsTrigger = None try: existing_trigger_schedule = client.get_trigger(trigger_id) - except ResourceNotFoundError as e: + except ResourceNotFoundError: msg = "Schedule trigger with id: {} does not exists.".format(trigger_id) logger.debug(msg) raise InvalidArgumentValueError(msg) @@ -217,8 +217,7 @@ def enable_trigger_schedule( response = client.create_or_update_trigger(trigger_id=trigger_id, body=existing_trigger_schedule) logger.debug("Enabled schedule trigger: %s", response) return response - else: - logger.error("Schedule trigger is in %s state, hence cannot be enabled.", existing_trigger_schedule.state.value) + logger.error("Schedule trigger is in %s state, hence cannot be enabled.", existing_trigger_schedule.state.value) def list_trigger_schedules( @@ -237,4 +236,4 @@ def list_trigger_schedules( logger.info("Schedule trigger states: %s", trigger_states) response = client.list_trigger(test_ids=test_ids, states=trigger_states) logger.debug("Fetched list of schedule triggers: %s", response) - return response \ No newline at end of file + return response diff --git a/src/load/azext_load/data_plane/load_trigger/help.py b/src/load/azext_load/data_plane/load_trigger/help.py index c38cb12a99b..669514bcf3a 100644 --- a/src/load/azext_load/data_plane/load_trigger/help.py +++ b/src/load/azext_load/data_plane/load_trigger/help.py @@ -22,7 +22,7 @@ az load trigger schedule create --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id --description "Sample description" --display-name "Sample display name" --start-date-time 2023-01-01T15:16:17Z --recurrence-type Weekly --recurrence-interval 1 --recurrence-week-days Monday Tuesday Wednesday Thursday Friday --end-after-occurrence 15 --test-ids sample-test-id - name: Create a schedule trigger with cron expression. text: | - az load trigger schedule create --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id --description "Sample description" --display-name "Sample display name" --start-date-time 2023-01-01T15:16:17Z --recurrence-cron-expression "0 0 12 * *" --end-after-occurrence 10 --test-ids sample-test-id + az load trigger schedule create --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id --description "Sample description" --display-name "Sample display name" --start-date-time 2023-01-01T15:16:17Z --recurrence-cron-exp "0 0 12 * *" --end-after-occurrence 10 --test-ids sample-test-id """ helps[ @@ -40,7 +40,6 @@ - name: Update recurrence end date of schedule. text: | az load trigger schedule update --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id --end-after-date-time 2025-12-31T15:16:17Z - """ helps[ @@ -63,7 +62,7 @@ - name: Show schedule. text: | az load trigger schedule show --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id -""" +""" helps[ "load trigger schedule pause" @@ -74,7 +73,7 @@ - name: Pause schedule. text: | az load trigger schedule pause --load-test-resource sample-alt-resource --resource-group sample-rg --trigger-id sample-trigger-id -""" +""" helps[ "load trigger schedule enable" @@ -105,4 +104,4 @@ - name: List schedule which are in paused state and associated with given test ids. text: | az load trigger schedule list --load-test-resource sample-alt-resource --resource-group sample-rg --states Paused --test-ids sample-test-id1 sample-test-id2 -""" \ No newline at end of file +""" diff --git a/src/load/azext_load/data_plane/load_trigger/params.py b/src/load/azext_load/data_plane/load_trigger/params.py index 1bb621eab4c..45be52fca43 100644 --- a/src/load/azext_load/data_plane/load_trigger/params.py +++ b/src/load/azext_load/data_plane/load_trigger/params.py @@ -51,5 +51,3 @@ def load_arguments(self, _): with self.argument_context("load trigger schedule list") as c: c.argument("test_ids", argtypes.list_schedule_test_ids) c.argument("trigger_states", argtypes.list_schedule_states) - - \ No newline at end of file diff --git a/src/load/azext_load/data_plane/load_trigger/utils.py b/src/load/azext_load/data_plane/load_trigger/utils.py index 0d995fb3375..f08743a7480 100644 --- a/src/load/azext_load/data_plane/load_trigger/utils.py +++ b/src/load/azext_load/data_plane/load_trigger/utils.py @@ -3,6 +3,9 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long +# Disabled since logging statements were flagged as too long + from datetime import datetime from azext_load.vendored_sdks.loadtesting.models import _models as models from azext_load.vendored_sdks.loadtesting.models import _enums as enums @@ -11,6 +14,7 @@ logger = get_logger(__name__) + def parse_datetime_in_utc(value): try: parsed_date_time = datetime.strptime(value, "%Y-%m-%dT%H:%M:%SZ") @@ -18,18 +22,20 @@ def parse_datetime_in_utc(value): except ValueError: raise InvalidArgumentValueError("Invalid datetime format. Please provide datetime in UTC format (YYYY-MM-DDTHH:MM:SSZ).") + def get_recurrence_end_body(end_after_occurrence, end_after_date_time, existing_recurrence_end=None): if end_after_occurrence is not None and end_after_date_time is not None: raise InvalidArgumentValueError("Specify either end_after_occurrence or end_after_date_time, not both.") - + if end_after_occurrence is not None: return models.RecurrenceEnd(number_of_occurrences=end_after_occurrence) - + if end_after_date_time is not None: return models.RecurrenceEnd(end_date_time=end_after_date_time) - + return existing_recurrence_end + def handle_daily_recurrence(recurrence_interval, recurrence_end_body, **kwargs): if recurrence_interval is None: raise InvalidArgumentValueError("Recurrence interval is required for daily recurrence.") @@ -40,6 +46,7 @@ def handle_daily_recurrence(recurrence_interval, recurrence_end_body, **kwargs): recurrence_end=recurrence_end_body ) + def handle_weekly_recurrence(recurrence_interval, recurrence_week_days, recurrence_end_body, **kwargs): if recurrence_interval is None: raise InvalidArgumentValueError("Recurrence interval is required for weekly recurrence.") @@ -53,6 +60,7 @@ def handle_weekly_recurrence(recurrence_interval, recurrence_week_days, recurren recurrence_end=recurrence_end_body ) + def handle_hourly_recurrence(recurrence_interval, recurrence_end_body, **kwargs): if recurrence_interval is None: raise InvalidArgumentValueError("Recurrence interval is required for hourly recurrence.") @@ -63,6 +71,7 @@ def handle_hourly_recurrence(recurrence_interval, recurrence_end_body, **kwargs) recurrence_end=recurrence_end_body ) + def handle_monthly_by_dates_recurrence(recurrence_interval, recurrence_dates_in_month, recurrence_end_body, **kwargs): if recurrence_interval is None: raise InvalidArgumentValueError("Recurrence interval is required for monthly by dates recurrence.") @@ -76,6 +85,7 @@ def handle_monthly_by_dates_recurrence(recurrence_interval, recurrence_dates_in_ recurrence_end=recurrence_end_body ) + def handle_monthly_by_days_recurrence(recurrence_interval, recurrence_week_days, recurrence_index, recurrence_end_body, **kwargs): if recurrence_interval is None: raise InvalidArgumentValueError("Recurrence interval is required for monthly by days recurrence.") @@ -92,6 +102,7 @@ def handle_monthly_by_days_recurrence(recurrence_interval, recurrence_week_days, recurrence_end=recurrence_end_body ) + def handle_cron_recurrence(recurrence_cron_expression, recurrence_end_body, **kwargs): if recurrence_cron_expression is None: raise InvalidArgumentValueError("Recurrence cron expression is required for cron recurrence.") @@ -102,6 +113,7 @@ def handle_cron_recurrence(recurrence_cron_expression, recurrence_end_body, **kw recurrence_end=recurrence_end_body ) + recurrence_handlers = { enums.Frequency.DAILY: handle_daily_recurrence, enums.Frequency.WEEKLY: handle_weekly_recurrence, @@ -111,6 +123,7 @@ def handle_cron_recurrence(recurrence_cron_expression, recurrence_end_body, **kw enums.Frequency.CRON: handle_cron_recurrence, } + def get_recurrence_body( recurrence_type, recurrence_interval, @@ -138,6 +151,7 @@ def get_recurrence_body( ) return None + def get_recurrence_body_for_update( recurrence_type, recurrence_interval, @@ -181,7 +195,8 @@ def get_recurrence_body_for_update( recurrence_week_days, recurrence_end_body ) - + + def get_schedule_trigger_body_for_update( existing_trigger_schedule, recurrence_body, @@ -200,10 +215,10 @@ def get_schedule_trigger_body_for_update( if test_ids is None: new_trigger_body.test_ids = existing_trigger_schedule.test_ids - + if trigger_start_date_time is None: new_trigger_body.start_date_time = existing_trigger_schedule.start_date_time - + if display_name is None: new_trigger_body.display_name = existing_trigger_schedule.display_name @@ -212,5 +227,5 @@ def get_schedule_trigger_body_for_update( if recurrence_body is None: new_trigger_body.recurrence = existing_trigger_schedule.recurrence - + return new_trigger_body diff --git a/src/load/azext_load/data_plane/utils/argtypes.py b/src/load/azext_load/data_plane/utils/argtypes.py index 866eee99462..fc87a3c7f0d 100644 --- a/src/load/azext_load/data_plane/utils/argtypes.py +++ b/src/load/azext_load/data_plane/utils/argtypes.py @@ -5,7 +5,6 @@ # pylint: disable=line-too-long -from azext_load.data_plane.utils import completers, models, utils, validators from azure.cli.core.commands.parameters import ( get_generic_completion_list, get_resource_name_completion_list, @@ -13,8 +12,8 @@ resource_group_name_type, ) from knack.arguments import CLIArgumentType -from azext_load.vendored_sdks.loadtesting.models._enums import WeekDays, Frequency, TriggerState -from datetime import datetime +from azext_load.data_plane.utils import completers, models, utils, validators +from azext_load.vendored_sdks.loadtesting.models._enums import WeekDays, Frequency, TriggerState from azext_load.data_plane.load_trigger import utils as trigger_utils quote_text = f"Use {quotes} to clear existing {{}}." @@ -522,4 +521,4 @@ nargs="*", choices=utils.get_enum_values(TriggerState), help="List all the schedules in the resource which are in the provided states.", -) \ No newline at end of file +) diff --git a/src/load/azext_load/data_plane/utils/models.py b/src/load/azext_load/data_plane/utils/models.py index c2165ee536b..4b6f055f912 100644 --- a/src/load/azext_load/data_plane/utils/models.py +++ b/src/load/azext_load/data_plane/utils/models.py @@ -65,6 +65,7 @@ class AllowedTrendsResponseTimeAggregations(str, Enum): P999 = "P999" P9999 = "P9999" + class AllowedTriggerStates(str, Enum): ACTIVE = "ACTIVE" - PAUSED = "PAUSED" \ No newline at end of file + PAUSED = "PAUSED" diff --git a/src/load/azext_load/data_plane/utils/validators.py b/src/load/azext_load/data_plane/utils/validators.py index 34ecb56b604..6be40dc1031 100644 --- a/src/load/azext_load/data_plane/utils/validators.py +++ b/src/load/azext_load/data_plane/utils/validators.py @@ -549,6 +549,7 @@ def validate_engine_ref_ids_and_type(incoming_engine_ref_id_type, engine_ref_ids "Atleast one engine-ref-ids should be provided when engine-ref-id-type is UserAssigned" ) + def validate_trigger_id(namespace): """Validates trigger-id""" if not isinstance(namespace.trigger_id, str): @@ -557,7 +558,8 @@ def validate_trigger_id(namespace): ) if not re.match("^[a-z0-9_-]*$", namespace.trigger_id): raise InvalidArgumentValueError("Invalid trigger-id value") - + + def validate_recurrence_dates_in_month(namespace): if namespace.recurrence_dates_in_month is None: return @@ -571,7 +573,8 @@ def validate_recurrence_dates_in_month(namespace): raise InvalidArgumentValueError( f"Invalid recurrence-dates-in-month item: {item}. Expected integer between 1 and 31" ) - + + def validate_schedule_test_ids(namespace): if namespace.test_ids is None: return @@ -582,4 +585,3 @@ def validate_schedule_test_ids(namespace): ) if not re.match("^[a-z0-9_-]*$", namespace.test_ids[0]): raise InvalidArgumentValueError("Invalid test-id value") - diff --git a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml index e30adb39aed..377f93b3e36 100644 --- a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:09 GMT + - Sun, 09 Mar 2025 21:32:23 GMT etag: - - '"9f0425ac-0000-0200-0000-67cdffe70000"' + - '"a0042702-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 46BFB2B3869E4C05B716AC137DBD71DC Ref B: MAA201060516027 Ref C: 2025-03-09T20:54:09Z' + - 'Ref A: 4230AC4FCE25419A8FCDC5F4E7EAFB15 Ref B: MAA201060514027 Ref C: 2025-03-09T21:32:23Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-daily @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:11 GMT + - Sun, 09 Mar 2025 21:32:25 GMT mise-correlation-id: - - db4744a4-5dd9-4275-b4bb-6475efd49210 + - 5830a96e-9a6a-4f51-977e-c01997546eb9 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205410Z-16bc6c9867bpntnchC1SG1n3tn00000001w000000000bfre + - 20250309T213224Z-16bc6c9867bfx5n4hC1SG10fvg00000001s000000000apq6 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-daily"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T20:53:23Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:31:40Z", "state": "Active", "displayName": "Daily Trigger", "description": "Trigger schedule for daily test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule - for daily test case","state":"Active","createdDateTime":"2025-03-09T20:54:11.749Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:11.749Z","lastModifiedBy":"hbisht@microsoft.com"}' + for daily test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.462Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.462Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:11 GMT + - Sun, 09 Mar 2025 21:32:25 GMT location: - - https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + - https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview mise-correlation-id: - - 8fb3043f-036e-4de8-aeae-9ebee14b698b + - ad780e8b-0085-4241-987d-986bcb838dd8 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205411Z-16bc6c9867bpntnchC1SG1n3tn00000001w000000000bfwz + - 20250309T213225Z-16bc6c9867bfx5n4hC1SG10fvg00000001s000000000aprb x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:12 GMT + - Sun, 09 Mar 2025 21:32:26 GMT etag: - - '"9f0425ac-0000-0200-0000-67cdffe70000"' + - '"a0042702-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: EAB658389A084346B51B8FA4E34ACFEB Ref B: MAA201060514031 Ref C: 2025-03-09T20:54:12Z' + - 'Ref A: 98E6638209D24812B649AD4B5727EC16 Ref B: MAA201060513037 Ref C: 2025-03-09T21:32:25Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule - for daily test case","state":"Active","createdDateTime":"2025-03-09T20:54:11.749Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:11.749Z","lastModifiedBy":"hbisht@microsoft.com"}' + for daily test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.462Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.462Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:14 GMT + - Sun, 09 Mar 2025 21:32:27 GMT mise-correlation-id: - - 55cbfcdf-4eda-4d81-bc1c-328edce13f49 + - 2c86be7b-cb03-43d6-a313-8788b8aee188 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205413Z-16bc6c9867btgkv4hC1SG1pnx800000001y000000000701p + - 20250309T213226Z-16bc6c9867bwklg4hC1SG166x000000002900000000061rq x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -244,7 +244,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -253,9 +253,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:14 GMT + - Sun, 09 Mar 2025 21:32:28 GMT etag: - - '"9f0425ac-0000-0200-0000-67cdffe70000"' + - '"a0042702-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -269,9 +269,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 28B089709B4A48F0B9DD3959A36A4B67 Ref B: MAA201060514045 Ref C: 2025-03-09T20:54:14Z' + - 'Ref A: CF0F9D6D1C8148A9ADFC8D6FF3F2FD26 Ref B: MAA201060516033 Ref C: 2025-03-09T21:32:27Z' status: code: 200 message: OK @@ -287,7 +287,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-weekly @@ -300,15 +300,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:15 GMT + - Sun, 09 Mar 2025 21:32:28 GMT mise-correlation-id: - - f3a1c271-c16e-4a21-8046-4c4a21a33f38 + - ea1bbf96-2851-4a51-ad08-1d8f9d6ec383 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205415Z-16bc6c9867bwklg4hC1SG166x0000000023g00000000ae8h + - 20250309T213228Z-16bc6c9867bfx5n4hC1SG10fvg00000001qg00000000dzg9 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -321,7 +321,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-weekly"], "recurrence": {"frequency": "Weekly", "interval": 1, "daysOfWeek": ["Monday"]}, "startDateTime": - "2025-03-09T20:53:23Z", "state": "Active", "displayName": "Weekly Trigger", + "2025-03-09T21:31:40Z", "state": "Active", "displayName": "Weekly Trigger", "description": "Trigger schedule for weekly test case"}' headers: Accept: @@ -337,12 +337,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule - for weekly test case","state":"Active","createdDateTime":"2025-03-09T20:54:16.109Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:16.109Z","lastModifiedBy":"hbisht@microsoft.com"}' + for weekly test case","state":"Active","createdDateTime":"2025-03-09T21:32:29.321Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:29.321Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -353,15 +353,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:16 GMT + - Sun, 09 Mar 2025 21:32:29 GMT location: - - https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + - https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview mise-correlation-id: - - 31c355f1-6876-4339-a315-53c0f7b155ed + - 7412d6e1-3062-46bc-80ea-0c898166f5b1 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205415Z-16bc6c9867bwklg4hC1SG166x0000000023g00000000aebp + - 20250309T213228Z-16bc6c9867bfx5n4hC1SG10fvg00000001qg00000000dzhz x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -384,7 +384,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -393,9 +393,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:16 GMT + - Sun, 09 Mar 2025 21:32:30 GMT etag: - - '"9f0425ac-0000-0200-0000-67cdffe70000"' + - '"a0042702-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -411,7 +411,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 6394C17CCFF942A9BCF12434A533C3B6 Ref B: MAA201060515011 Ref C: 2025-03-09T20:54:16Z' + - 'Ref A: EA73E509A99A45648D35C719B94FD4DA Ref B: MAA201060516019 Ref C: 2025-03-09T21:32:29Z' status: code: 200 message: OK @@ -427,12 +427,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule - for weekly test case","state":"Active","createdDateTime":"2025-03-09T20:54:16.109Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:16.109Z","lastModifiedBy":"hbisht@microsoft.com"}' + for weekly test case","state":"Active","createdDateTime":"2025-03-09T21:32:29.321Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:29.321Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -445,13 +445,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:17 GMT + - Sun, 09 Mar 2025 21:32:30 GMT mise-correlation-id: - - 12af745f-e9b8-49bd-92d9-43c2beb1edb3 + - 2fc05444-d7f8-42ab-8a0c-c1e6ea0cc7ba strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205417Z-16bc6c9867btgkv4hC1SG1pnx800000001vg00000000b4k5 + - 20250309T213230Z-16bc6c9867btgkv4hC1SG1pnx8000000023g000000001x32 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -474,7 +474,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -483,9 +483,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:17 GMT + - Sun, 09 Mar 2025 21:32:31 GMT etag: - - '"9f0425ac-0000-0200-0000-67cdffe70000"' + - '"a0042702-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -499,9 +499,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: 1ED91D518FE44B179CBB5EAAD1B53A22 Ref B: MAA201060514033 Ref C: 2025-03-09T20:54:17Z' + - 'Ref A: 0CEAB63075B24183B8946BA83276EE4B Ref B: MAA201060516023 Ref C: 2025-03-09T21:32:31Z' status: code: 200 message: OK @@ -517,7 +517,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-monthly-dates @@ -530,15 +530,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:18 GMT + - Sun, 09 Mar 2025 21:32:32 GMT mise-correlation-id: - - 1a9f4a5f-5462-426e-ba85-a4f237f0bdef + - 6f04293b-0ec2-4104-a624-5d5bb8e29344 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205417Z-16bc6c9867b562q7hC1SG1b75000000001rg000000005rcc + - 20250309T213232Z-16bc6c9867bwklg4hC1SG166x000000002bg000000001e41 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -551,7 +551,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-dates"], "recurrence": {"frequency": "MonthlyByDates", "interval": 1, "datesInMonth": - [1, 15]}, "startDateTime": "2025-03-09T20:53:23Z", "state": "Active", "displayName": + [1, 15]}, "startDateTime": "2025-03-09T21:31:40Z", "state": "Active", "displayName": "Monthly By Dates Trigger", "description": "Trigger schedule for monthly by dates test case"}' headers: @@ -568,12 +568,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger - schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T20:54:18.866Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:18.866Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T21:32:33.072Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:33.072Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -584,15 +584,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:18 GMT + - Sun, 09 Mar 2025 21:32:33 GMT location: - - https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + - https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview mise-correlation-id: - - fd26bf8c-3116-4633-898c-1230049a3c74 + - d2ef30ef-8bdd-42e2-bd9f-c9948c5d0db4 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205418Z-16bc6c9867b562q7hC1SG1b75000000001rg000000005rdv + - 20250309T213232Z-16bc6c9867bwklg4hC1SG166x000000002bg000000001e4x x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -615,7 +615,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -624,9 +624,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:18 GMT + - Sun, 09 Mar 2025 21:32:34 GMT etag: - - '"9f0425ac-0000-0200-0000-67cdffe70000"' + - '"a0042702-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -642,7 +642,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 84067D0F0A3543D79354C22888762BFF Ref B: MAA201060513029 Ref C: 2025-03-09T20:54:19Z' + - 'Ref A: 382C881965B94161A93B9F201A419B05 Ref B: MAA201060514019 Ref C: 2025-03-09T21:32:33Z' status: code: 200 message: OK @@ -658,12 +658,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger - schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T20:54:18.866Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:18.866Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T21:32:33.072Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:33.072Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -676,13 +676,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:20 GMT + - Sun, 09 Mar 2025 21:32:35 GMT mise-correlation-id: - - 24a1bdf8-ee84-4d55-b6c1-33614cb0a192 + - cd66d96e-2b34-43b2-8a91-33e75097e5dd strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205419Z-16bc6c9867bps5cxhC1SG17nv400000001ng0000000013d6 + - 20250309T213234Z-16bc6c9867bps5cxhC1SG17nv400000001ng0000000051nw x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -705,7 +705,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -714,9 +714,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:21 GMT + - Sun, 09 Mar 2025 21:32:35 GMT etag: - - '"9f0425ac-0000-0200-0000-67cdffe70000"' + - '"a0042702-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -732,7 +732,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: ABE2DD3C30A6492CBBB6A555EEAE05D6 Ref B: MAA201060516033 Ref C: 2025-03-09T20:54:20Z' + - 'Ref A: 7ABC4DDD7DB942B5A6AC73C51FA12072 Ref B: MAA201060513029 Ref C: 2025-03-09T21:32:35Z' status: code: 200 message: OK @@ -748,7 +748,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-monthly-days @@ -761,15 +761,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:22 GMT + - Sun, 09 Mar 2025 21:32:37 GMT mise-correlation-id: - - e4feb37b-0685-4447-b701-8b385db972eb + - 33aadd19-3ca2-4a15-9a3f-1c9bb1527388 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205421Z-16bc6c9867bzh7v7hC1SG1u0z8000000026g00000000702c + - 20250309T213236Z-16bc6c9867bh79t4hC1SG1qqen0000000150000000004mpy x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -782,7 +782,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-days"], "recurrence": {"frequency": "MonthlyByDays", "interval": 1, "weekDaysInMonth": ["Monday"], - "index": 1}, "startDateTime": "2025-03-09T20:53:23Z", "state": "Active", "displayName": + "index": 1}, "startDateTime": "2025-03-09T21:31:40Z", "state": "Active", "displayName": "Monthly By Days Trigger", "description": "Trigger schedule for monthly by days test case"}' headers: @@ -799,12 +799,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger - schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T20:54:22.161Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:22.161Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T21:32:37.364Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:37.364Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -815,15 +815,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:22 GMT + - Sun, 09 Mar 2025 21:32:37 GMT location: - - https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + - https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview mise-correlation-id: - - 4a7f6584-2288-4f37-9694-4f91885805e9 + - d57f808b-9ee7-4ae5-8bd5-c59d6634f0fe strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205422Z-16bc6c9867bzh7v7hC1SG1u0z8000000026g000000007031 + - 20250309T213237Z-16bc6c9867bh79t4hC1SG1qqen0000000150000000004mrr x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -846,7 +846,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -855,9 +855,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:22 GMT + - Sun, 09 Mar 2025 21:32:37 GMT etag: - - '"9f0425ac-0000-0200-0000-67cdffe70000"' + - '"a0042702-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -873,7 +873,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 0F9A1DB49F4D406688F6AF3C2C7690A4 Ref B: MAA201060513037 Ref C: 2025-03-09T20:54:22Z' + - 'Ref A: 25A1049B188A45C7B575B66FB90D52E9 Ref B: MAA201060516023 Ref C: 2025-03-09T21:32:37Z' status: code: 200 message: OK @@ -889,12 +889,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger - schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T20:54:22.161Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:22.161Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T21:32:37.364Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:37.364Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -907,13 +907,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:23 GMT + - Sun, 09 Mar 2025 21:32:39 GMT mise-correlation-id: - - 87f82b9d-c88b-4e5c-bf68-f584929d99ec + - 19ca4d5c-3ec5-47ad-b347-802be5709ff5 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205423Z-16bc6c9867bndw6zhC1SG1arb000000001yg000000007u3t + - 20250309T213238Z-16bc6c9867b5kr5vhC1SG1zp0c000000024g0000000003hp x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -936,7 +936,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -945,9 +945,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:23 GMT + - Sun, 09 Mar 2025 21:32:39 GMT etag: - - '"9f0425ac-0000-0200-0000-67cdffe70000"' + - '"a0042702-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -963,7 +963,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 6BD6FFAAED424A0B828C1A30D6AD103E Ref B: MAA201060513027 Ref C: 2025-03-09T20:54:23Z' + - 'Ref A: C494425D60F2432B9F82640547B84BA2 Ref B: MAA201060514031 Ref C: 2025-03-09T21:32:39Z' status: code: 200 message: OK @@ -979,7 +979,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-cron @@ -992,15 +992,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:24 GMT + - Sun, 09 Mar 2025 21:32:41 GMT mise-correlation-id: - - 56bec02c-a4d4-48cc-bef7-0bed29475fac + - 97315c25-f74a-4eff-a862-5c483bdd7e46 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205424Z-16bc6c9867bxt797hC1SG12utn00000001bg00000000dh7a + - 20250309T213240Z-16bc6c9867b562q7hC1SG1b75000000001rg00000000a6nn x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -1012,7 +1012,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-cron"], "recurrence": - {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-09T20:53:23Z", + {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-09T21:31:40Z", "state": "Active", "displayName": "Cron Trigger", "description": "Trigger schedule for cron test case"}' headers: @@ -1029,13 +1029,13 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Cron","cronExpression":"0 + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Cron","cronExpression":"0 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule - for cron test case","state":"Active","createdDateTime":"2025-03-09T20:54:24.922Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:24.922Z","lastModifiedBy":"hbisht@microsoft.com"}' + for cron test case","state":"Active","createdDateTime":"2025-03-09T21:32:41.616Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:41.616Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -1046,15 +1046,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:25 GMT + - Sun, 09 Mar 2025 21:32:41 GMT location: - - https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + - https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview mise-correlation-id: - - aefe8796-b0db-4dd8-98f0-9a6557ae2220 + - 468f5fd4-72d8-469d-8827-131875ce825e strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205424Z-16bc6c9867bxt797hC1SG12utn00000001bg00000000dh81 + - 20250309T213241Z-16bc6c9867b562q7hC1SG1b75000000001rg00000000a6pd x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -1077,7 +1077,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:35.3848688Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:35.3848688Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1086,9 +1086,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:25 GMT + - Sun, 09 Mar 2025 21:32:42 GMT etag: - - '"9f0425ac-0000-0200-0000-67cdffe70000"' + - '"a0042702-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -1102,9 +1102,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: AA11E26A4C4E47B2818C67C6DFBD84FB Ref B: MAA201060514039 Ref C: 2025-03-09T20:54:25Z' + - 'Ref A: DD28DD30079542CB8E5278FF36C511AA Ref B: MAA201060516011 Ref C: 2025-03-09T21:32:41Z' status: code: 200 message: OK @@ -1120,13 +1120,13 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://d89f3a5e-2ea3-4167-b86e-2d331ba8ce19.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Cron","cronExpression":"0 + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Cron","cronExpression":"0 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule - for cron test case","state":"Active","createdDateTime":"2025-03-09T20:54:24.922Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:24.922Z","lastModifiedBy":"hbisht@microsoft.com"}' + for cron test case","state":"Active","createdDateTime":"2025-03-09T21:32:41.616Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:41.616Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -1139,13 +1139,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:26 GMT + - Sun, 09 Mar 2025 21:32:43 GMT mise-correlation-id: - - 108c50a0-bc79-44fc-bf7c-dda900e9dcb5 + - 8a03135a-f57d-43de-9549-ac4366e04f0b strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205425Z-16bc6c9867btmgl7hC1SG1qumc00000001xg000000009y5m + - 20250309T213243Z-16bc6c9867btgkv4hC1SG1pnx8000000021g0000000056p1 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml b/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml index abe09f79e52..8a73d18c4c2 100644 --- a/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1735285Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1735285Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.3999374Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.3999374Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:05 GMT + - Sun, 09 Mar 2025 21:32:23 GMT etag: - - '"9f04ebab-0000-0200-0000-67cdffe00000"' + - '"a0042302-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 4CD34B708FB5459ABC20C624147D0CC5 Ref B: MAA201060515035 Ref C: 2025-03-09T20:54:06Z' + - 'Ref A: 179E95DF85CD4DC9833C389B26F5E8DA Ref B: MAA201060514021 Ref C: 2025-03-09T21:32:23Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-daily-trigger?api-version=2024-12-01-preview + uri: https://061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-daily-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-daily-trigger @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:07 GMT + - Sun, 09 Mar 2025 21:32:25 GMT mise-correlation-id: - - 95fa6f1c-55fb-43ac-9309-db857ff91873 + - c9731df8-20d5-4b33-919d-57748279d7d3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205406Z-16bc6c9867btgkv4hC1SG1pnx8000000021g000000000wnb + - 20250309T213224Z-16bc6c9867bzh7v7hC1SG1u0z8000000026g00000000btrx x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -103,7 +103,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1735285Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1735285Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.3999374Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.3999374Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -112,9 +112,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:08 GMT + - Sun, 09 Mar 2025 21:32:26 GMT etag: - - '"9f04ebab-0000-0200-0000-67cdffe00000"' + - '"a0042302-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 7BA0DE67CD854E4A8112719376ED73FE Ref B: MAA201060515025 Ref C: 2025-03-09T20:54:07Z' + - 'Ref A: 6BEA8922C809483A86630307D2E7E57C Ref B: MAA201060515025 Ref C: 2025-03-09T21:32:26Z' status: code: 200 message: OK @@ -146,7 +146,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-weekly-trigger?api-version=2024-12-01-preview + uri: https://061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-weekly-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-weekly-trigger @@ -159,15 +159,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:09 GMT + - Sun, 09 Mar 2025 21:32:27 GMT mise-correlation-id: - - c59e2d20-02bb-43c3-97fb-5654fcd087de + - c57d43aa-45b4-4a52-bfcd-05d19ae914d5 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205408Z-16bc6c9867bgcvffhC1SG1uu3n00000001tg000000002098 + - 20250309T213226Z-16bc6c9867btmgl7hC1SG1qumc00000001y000000000dpc8 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -192,7 +192,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1735285Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1735285Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.3999374Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.3999374Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -201,9 +201,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:10 GMT + - Sun, 09 Mar 2025 21:32:27 GMT etag: - - '"9f04ebab-0000-0200-0000-67cdffe00000"' + - '"a0042302-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -219,7 +219,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 31808EAD5C494BCD966DD41F28073C96 Ref B: MAA201060513039 Ref C: 2025-03-09T20:54:09Z' + - 'Ref A: 2FD2EAC6FAEF49DCA0F9B77F859BA26A Ref B: MAA201060513019 Ref C: 2025-03-09T21:32:27Z' status: code: 200 message: OK @@ -235,7 +235,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-dates-trigger?api-version=2024-12-01-preview + uri: https://061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-dates-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-monthly-dates-trigger @@ -248,15 +248,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:11 GMT + - Sun, 09 Mar 2025 21:32:29 GMT mise-correlation-id: - - 7ad4941d-b5d6-4ef6-bee4-0cda580d602e + - 676030a3-d838-4ffe-a103-ad5ed51e68e3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205410Z-16bc6c9867bhn5b6hC1SG115gc00000001k00000000001zu + - 20250309T213228Z-16bc6c9867bh79t4hC1SG1qqen000000015g000000003bf6 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -281,7 +281,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1735285Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1735285Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.3999374Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.3999374Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -290,9 +290,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:12 GMT + - Sun, 09 Mar 2025 21:32:30 GMT etag: - - '"9f04ebab-0000-0200-0000-67cdffe00000"' + - '"a0042302-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -308,7 +308,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: A50F3C9BB24D4308948C41B2B9B18826 Ref B: MAA201060513019 Ref C: 2025-03-09T20:54:11Z' + - 'Ref A: D5A17EFA264E4FAA81A05398B91F419E Ref B: MAA201060515039 Ref C: 2025-03-09T21:32:29Z' status: code: 200 message: OK @@ -324,7 +324,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-days-trigger?api-version=2024-12-01-preview + uri: https://061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-days-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-monthly-days-trigger @@ -337,15 +337,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:13 GMT + - Sun, 09 Mar 2025 21:32:31 GMT mise-correlation-id: - - 5836a372-8e3c-4d28-bfdc-288563fe582a + - 3c3e85dd-1cf7-475e-81f6-fd28f558f25a strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205412Z-16bc6c9867bgcvffhC1SG1uu3n00000001s0000000004c11 + - 20250309T213230Z-16bc6c9867b2q4x9hC1SG1enhn0000000250000000000hs7 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -370,7 +370,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1735285Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1735285Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.3999374Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.3999374Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -379,9 +379,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:14 GMT + - Sun, 09 Mar 2025 21:32:32 GMT etag: - - '"9f04ebab-0000-0200-0000-67cdffe00000"' + - '"a0042302-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -397,7 +397,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 6A5893A5CD8C4F7DA2C02FF3F6130753 Ref B: MAA201060516035 Ref C: 2025-03-09T20:54:13Z' + - 'Ref A: 3F750228355A48468BD2536C91E6446E Ref B: MAA201060513025 Ref C: 2025-03-09T21:32:31Z' status: code: 200 message: OK @@ -413,7 +413,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://0cca05c1-acbb-4aed-8ab6-54955cc8fe28.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-cron-trigger?api-version=2024-12-01-preview + uri: https://061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-cron-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-cron-trigger @@ -426,15 +426,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:15 GMT + - Sun, 09 Mar 2025 21:32:33 GMT mise-correlation-id: - - 453bffd4-6bef-4062-b8ad-e49f89d06e79 + - 298b6471-c380-422d-bfbe-46d20531ebcf strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205415Z-16bc6c9867bpbnpmhC1SG1p0kn000000024000000000b7r4 + - 20250309T213232Z-16bc6c9867bpbnpmhC1SG1p0kn00000002c00000000010a5 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml index bbaad361c58..8181b05085e 100644 --- a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml @@ -14,18 +14,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.7808572Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.7808572Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4337Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4337Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '665' + - '659' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:06 GMT + - Sun, 09 Mar 2025 21:32:23 GMT etag: - - '"9f0428ac-0000-0200-0000-67cdffe70000"' + - '"a0041202-0000-0200-0000-67ce08da0000"' expires: - '-1' pragma: @@ -39,9 +39,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 338FD87C425B45A8A3A06CAFBF08CEB2 Ref B: MAA201060514027 Ref C: 2025-03-09T20:54:06Z' + - 'Ref A: 638DA143A1B54A9B8204F78FD79F47A6 Ref B: MAA201060513027 Ref C: 2025-03-09T21:32:23Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-delete @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:07 GMT + - Sun, 09 Mar 2025 21:32:25 GMT mise-correlation-id: - - b82ee3a1-5590-4eb0-b448-c83d767774d7 + - e7e2b688-de29-457a-a6b2-f28e326bac38 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205407Z-16bc6c9867b2q4x9hC1SG1enhn00000001wg00000000ac0a + - 20250309T213224Z-16bc6c9867b562q7hC1SG1b75000000001vg000000003kuw x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-delete"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T20:53:23Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:31:40Z", "state": "Active", "displayName": "Delete Trigger", "description": "Trigger schedule for delete test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Delete + string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Delete Trigger","triggerId":"test-trigger-id-delete","description":"Trigger schedule - for delete test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.905Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.905Z","lastModifiedBy":"hbisht@microsoft.com"}' + for delete test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.326Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.326Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:08 GMT + - Sun, 09 Mar 2025 21:32:25 GMT location: - - https://84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + - https://0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview mise-correlation-id: - - 80069298-6b98-4e89-9dbb-b9bdb8ce36f0 + - 4fe54c27-5534-46da-891f-d55cb7355957 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205407Z-16bc6c9867b2q4x9hC1SG1enhn00000001wg00000000ac15 + - 20250309T213225Z-16bc6c9867b562q7hC1SG1b75000000001vg000000003kvp x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,18 +154,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.7808572Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.7808572Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4337Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4337Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '665' + - '659' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:08 GMT + - Sun, 09 Mar 2025 21:32:25 GMT etag: - - '"9f0428ac-0000-0200-0000-67cdffe70000"' + - '"a0041202-0000-0200-0000-67ce08da0000"' expires: - '-1' pragma: @@ -179,9 +179,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16497' + - '16499' x-msedge-ref: - - 'Ref A: 86193051B09945C09C4B86827EAF501A Ref B: MAA201060514035 Ref C: 2025-03-09T20:54:08Z' + - 'Ref A: 16D41188A6F547A48F719E5BE090A7DC Ref B: MAA201060513053 Ref C: 2025-03-09T21:32:25Z' status: code: 200 message: OK @@ -199,7 +199,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: DELETE - uri: https://84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: string: '' @@ -209,13 +209,13 @@ interactions: connection: - keep-alive date: - - Sun, 09 Mar 2025 20:54:09 GMT + - Sun, 09 Mar 2025 21:32:27 GMT mise-correlation-id: - - fc2fb1f3-8ced-42ed-a0ee-4fbdf06193be + - 00dcfd5d-013c-44d2-8593-57f720089778 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205408Z-16bc6c9867bh79t4hC1SG1qqen00000000x0000000002zmh + - 20250309T213226Z-16bc6c9867bpbnpmhC1SG1p0kn00000002ag000000003n1m x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -238,18 +238,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.7808572Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.7808572Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4337Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4337Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '665' + - '659' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:09 GMT + - Sun, 09 Mar 2025 21:32:27 GMT etag: - - '"9f0428ac-0000-0200-0000-67cdffe70000"' + - '"a0041202-0000-0200-0000-67ce08da0000"' expires: - '-1' pragma: @@ -265,7 +265,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 9678A7728EC347338040AA84C4E3FE00 Ref B: MAA201060515035 Ref C: 2025-03-09T20:54:09Z' + - 'Ref A: 9FE06DC5C6C445C8B8ABD9ACCA222F91 Ref B: MAA201060513039 Ref C: 2025-03-09T21:32:27Z' status: code: 200 message: OK @@ -281,7 +281,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://84292c17-9e8b-48cd-8924-ef4e81ab2920.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: string: '{"value":[]}' @@ -297,13 +297,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:11 GMT + - Sun, 09 Mar 2025 21:32:28 GMT mise-correlation-id: - - 617a2937-dcbd-4f2e-89da-84419eb67147 + - 6cdbabbf-e0f5-43fd-9ef2-b59ff541b4ed strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205410Z-16bc6c9867btgkv4hC1SG1pnx800000001vg00000000b49b + - 20250309T213228Z-16bc6c9867bbrkwghC1SG1yvwc00000001fg00000000bp40 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml index fd37c255c27..89d786723a1 100644 --- a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.4400632Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.4400632Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.8354342Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.8354342Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:04 GMT + - Sun, 09 Mar 2025 21:32:23 GMT etag: - - '"9f0406ac-0000-0200-0000-67cdffe40000"' + - '"a0042502-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 8925B931DAB9480CBAC1CB469E93158B Ref B: MAA201060514021 Ref C: 2025-03-09T20:54:04Z' + - 'Ref A: 13D86E21E1B849E7961F72E9B0E2F346 Ref B: MAA201060515035 Ref C: 2025-03-09T21:32:23Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-enable @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:05 GMT + - Sun, 09 Mar 2025 21:32:25 GMT mise-correlation-id: - - 32718a35-351d-47d1-ab71-e75df5ed0394 + - d823948b-17aa-4f65-939a-ffa8095243e0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205405Z-16bc6c9867bndw6zhC1SG1arb000000001yg000000007szg + - 20250309T213224Z-16bc6c9867bndw6zhC1SG1arb000000001yg00000000c11q x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-enable"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T20:53:23Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:31:40Z", "state": "Active", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T20:54:06.112Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:06.112Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.204Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.204Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:06 GMT + - Sun, 09 Mar 2025 21:32:25 GMT location: - - https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + - https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview mise-correlation-id: - - 2303ae5e-c343-41cc-828a-f67f8abfb187 + - 094f9a3a-998a-4faa-954c-5fc798567e71 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205405Z-16bc6c9867bndw6zhC1SG1arb000000001yg000000007t12 + - 20250309T213225Z-16bc6c9867bndw6zhC1SG1arb000000001yg00000000c13c x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.4400632Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.4400632Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.8354342Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.8354342Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:06 GMT + - Sun, 09 Mar 2025 21:32:25 GMT etag: - - '"9f0406ac-0000-0200-0000-67cdffe40000"' + - '"a0042502-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: F79EC94CDA8248B2BD7698B98E635D5A Ref B: MAA201060516011 Ref C: 2025-03-09T20:54:06Z' + - 'Ref A: 1D5D0277394849D782F862A5DBD4C9BC Ref B: MAA201060515031 Ref C: 2025-03-09T21:32:25Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T20:54:06.112Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:06.112Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.204Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.204Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:08 GMT + - Sun, 09 Mar 2025 21:32:27 GMT mise-correlation-id: - - 56d87349-25c2-4316-a3c6-68da10ffc332 + - ef0b43e0-3c09-4b7a-96fb-399d7c518c10 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205407Z-16bc6c9867bxt797hC1SG12utn00000001cg00000000ahrz + - 20250309T213226Z-16bc6c9867bljt59hC1SG1cz54000000020g000000006erd x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -230,7 +230,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T20:53:23Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T21:31:40Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case", "state": "Paused"}' @@ -248,12 +248,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Paused","createdDateTime":"2025-03-09T20:54:06.112Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:08.333Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Paused","createdDateTime":"2025-03-09T21:32:25.204Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:27.434Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -266,13 +266,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:08 GMT + - Sun, 09 Mar 2025 21:32:27 GMT mise-correlation-id: - - 12438fd5-43af-4ff8-af34-fcd6457317e6 + - dddd1810-2c99-46c6-8fed-83f40d0d4019 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205408Z-16bc6c9867bxt797hC1SG12utn00000001cg00000000ahtp + - 20250309T213227Z-16bc6c9867bljt59hC1SG1cz54000000020g000000006es6 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -295,7 +295,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.4400632Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.4400632Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.8354342Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.8354342Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -304,9 +304,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:08 GMT + - Sun, 09 Mar 2025 21:32:27 GMT etag: - - '"9f0406ac-0000-0200-0000-67cdffe40000"' + - '"a0042502-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -320,9 +320,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: 8E400CA89ADE469B8F97194BD947F2D1 Ref B: MAA201060514053 Ref C: 2025-03-09T20:54:08Z' + - 'Ref A: B87EE329D06A429BBA855747D42D057F Ref B: MAA201060513037 Ref C: 2025-03-09T21:32:27Z' status: code: 200 message: OK @@ -338,12 +338,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Paused","createdDateTime":"2025-03-09T20:54:06.112Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:08.333Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Paused","createdDateTime":"2025-03-09T21:32:25.204Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:27.434Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -356,13 +356,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:09 GMT + - Sun, 09 Mar 2025 21:32:29 GMT mise-correlation-id: - - e03a8a53-c1c0-4db7-a02c-13435b2ad0b6 + - 06b2a907-cc50-42af-a253-3a4c4d2c843d strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205409Z-16bc6c9867bpbnpmhC1SG1p0kn000000022g00000000er8h + - 20250309T213228Z-16bc6c9867bljt59hC1SG1cz5400000001y000000000b50q x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -371,7 +371,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T20:53:23Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T21:31:40Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case", "state": "Active"}' @@ -389,12 +389,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T20:54:06.112Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:10.023Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.204Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:29.249Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -407,13 +407,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:10 GMT + - Sun, 09 Mar 2025 21:32:29 GMT mise-correlation-id: - - 0fa1191b-768c-4442-af14-94a4d84af428 + - 8e20eaed-5796-4049-88f0-7e4eb385d1ca strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205409Z-16bc6c9867bpbnpmhC1SG1p0kn000000022g00000000er9h + - 20250309T213229Z-16bc6c9867bljt59hC1SG1cz5400000001y000000000b52p x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -436,7 +436,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.4400632Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.4400632Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.8354342Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.8354342Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -445,9 +445,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:10 GMT + - Sun, 09 Mar 2025 21:32:29 GMT etag: - - '"9f0406ac-0000-0200-0000-67cdffe40000"' + - '"a0042502-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -463,7 +463,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 0849C32EA8E74D83AC56CE984673BD19 Ref B: MAA201060515045 Ref C: 2025-03-09T20:54:10Z' + - 'Ref A: A86789A38D9B4EF8939F6160B278CAF3 Ref B: MAA201060513019 Ref C: 2025-03-09T21:32:29Z' status: code: 200 message: OK @@ -479,12 +479,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://64704a8b-dcac-4a61-b135-2caac42184b2.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T20:54:06.112Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:10.023Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.204Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:29.249Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -497,13 +497,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:12 GMT + - Sun, 09 Mar 2025 21:32:31 GMT mise-correlation-id: - - 61cda85b-e1d7-4e39-92ea-0d70bbb7d1d9 + - 30e4878b-1232-41a9-94f4-9cdb7b4489d2 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205411Z-16bc6c9867bbrkwghC1SG1yvwc00000001fg000000007m2x + - 20250309T213230Z-16bc6c9867bgcvffhC1SG1uu3n00000001s0000000008ha4 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml index 37b4de05f16..07c8fd74fb8 100644 --- a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.7476236Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.7476236Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"16905fb1-8ef1-449b-8fff-2f43aba21269.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.3400409Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.3400409Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"a2dc2c30-7475-4ba0-a46a-f423cb01baa0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:06 GMT + - Sun, 09 Mar 2025 21:32:23 GMT etag: - - '"9f0416ac-0000-0200-0000-67cdffe50000"' + - '"a0041f02-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 119AB9C5D45E4C35801A818CD489DF14 Ref B: MAA201060515029 Ref C: 2025-03-09T20:54:05Z' + - 'Ref A: 9BC5F3550A734F859E4A288F81B91779 Ref B: MAA201060514021 Ref C: 2025-03-09T21:32:22Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://16905fb1-8ef1-449b-8fff-2f43aba21269.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + uri: https://a2dc2c30-7475-4ba0-a46a-f423cb01baa0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-list @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:07 GMT + - Sun, 09 Mar 2025 21:32:25 GMT mise-correlation-id: - - 576f4845-4829-4ae8-863b-9f1b8e0d4369 + - f9900f89-ae9b-4f5f-844c-ecdc1cdc4a44 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205406Z-16bc6c9867bzh7v7hC1SG1u0z8000000026g000000006z3q + - 20250309T213224Z-16bc6c9867bxt797hC1SG12utn00000001mg000000002m97 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-list"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T20:53:23Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:31:40Z", "state": "Active", "displayName": "List Trigger", "description": "Trigger schedule for list test case"}' headers: @@ -107,31 +107,31 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://16905fb1-8ef1-449b-8fff-2f43aba21269.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + uri: https://a2dc2c30-7475-4ba0-a46a-f423cb01baa0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"List Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule - for list test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.271Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.271Z","lastModifiedBy":"hbisht@microsoft.com"}' + for list test case","state":"Active","createdDateTime":"2025-03-09T21:32:26.33Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:26.33Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '519' + - '517' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:07 GMT + - Sun, 09 Mar 2025 21:32:26 GMT location: - - https://16905fb1-8ef1-449b-8fff-2f43aba21269.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + - https://a2dc2c30-7475-4ba0-a46a-f423cb01baa0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview mise-correlation-id: - - 53796ba8-c9e0-4b70-bbd0-70f2622323a8 + - 5bd3cbf4-43d5-4eaa-8990-449885cdfaa4 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205407Z-16bc6c9867bzh7v7hC1SG1u0z8000000026g000000006z5n + - 20250309T213225Z-16bc6c9867bxt797hC1SG12utn00000001mg000000002mcn x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.7476236Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.7476236Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"16905fb1-8ef1-449b-8fff-2f43aba21269.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.3400409Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.3400409Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"a2dc2c30-7475-4ba0-a46a-f423cb01baa0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:08 GMT + - Sun, 09 Mar 2025 21:32:27 GMT etag: - - '"9f0416ac-0000-0200-0000-67cdffe50000"' + - '"a0041f02-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 0A96CA479D2D41C3B4DF11E28D408522 Ref B: MAA201060513037 Ref C: 2025-03-09T20:54:07Z' + - 'Ref A: 34409369132D4876A53949FC2B3E6036 Ref B: MAA201060516027 Ref C: 2025-03-09T21:32:26Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://16905fb1-8ef1-449b-8fff-2f43aba21269.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://a2dc2c30-7475-4ba0-a46a-f423cb01baa0.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: - string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"List Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule - for list test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.271Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.271Z","lastModifiedBy":"hbisht@microsoft.com"}]}' + for list test case","state":"Active","createdDateTime":"2025-03-09T21:32:26.33Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:26.33Z","lastModifiedBy":"hbisht@microsoft.com"}]}' headers: accept-ranges: - bytes @@ -211,17 +211,17 @@ interactions: connection: - keep-alive content-length: - - '531' + - '529' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:09 GMT + - Sun, 09 Mar 2025 21:32:28 GMT mise-correlation-id: - - aa8e9b5d-9739-4338-80a0-589ab9cd7c32 + - 08b6d83e-7160-4ca9-9b0c-de3613a65fb0 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205408Z-16bc6c9867btmgl7hC1SG1qumc00000001xg000000009wgb + - 20250309T213227Z-16bc6c9867btgkv4hC1SG1pnx8000000023g000000001wvr x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml index 091a0629411..5c6690c3620 100644 --- a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1669562Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1669562Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.5308542Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.5308542Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:05 GMT + - Sun, 09 Mar 2025 21:32:23 GMT etag: - - '"9f04edab-0000-0200-0000-67cdffe00000"' + - '"a0041a02-0000-0200-0000-67ce08db0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 7672BC9329CE42C291CB27FB22CE97A8 Ref B: MAA201060515025 Ref C: 2025-03-09T20:54:04Z' + - 'Ref A: ADD1C781055C45CCAEAF46C9BCD84885 Ref B: MAA201060515025 Ref C: 2025-03-09T21:32:23Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-pause @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:06 GMT + - Sun, 09 Mar 2025 21:32:25 GMT mise-correlation-id: - - 0a4ae66e-022d-4fbc-be9d-97bff1b2a045 + - b90495af-4586-44c9-9e9d-140d5d10d4fb strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205405Z-16bc6c9867b562q7hC1SG1b75000000001mg00000000cwdp + - 20250309T213224Z-16bc6c9867b2q4x9hC1SG1enhn000000024g000000001cge x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-pause"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T20:53:23Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:31:40Z", "state": "Active", "displayName": "Pause Trigger", "description": "Trigger schedule for pause test case"}' headers: @@ -107,31 +107,31 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Active","createdDateTime":"2025-03-09T20:54:06.761Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:06.761Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Active","createdDateTime":"2025-03-09T21:32:26.08Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:26.08Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '523' + - '521' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:06 GMT + - Sun, 09 Mar 2025 21:32:26 GMT location: - - https://bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + - https://fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview mise-correlation-id: - - 1c690f36-c973-4c24-9597-ca3e3bafa472 + - 2adfceb0-0130-4b6a-8bfd-8cd7dea70f70 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205406Z-16bc6c9867b562q7hC1SG1b75000000001mg00000000cwfb + - 20250309T213225Z-16bc6c9867b2q4x9hC1SG1enhn000000024g000000001cku x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1669562Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1669562Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.5308542Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.5308542Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:07 GMT + - Sun, 09 Mar 2025 21:32:26 GMT etag: - - '"9f04edab-0000-0200-0000-67cdffe00000"' + - '"a0041a02-0000-0200-0000-67ce08db0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 78E6C002D97146BFB8FF9836B48C5154 Ref B: MAA201060515031 Ref C: 2025-03-09T20:54:07Z' + - 'Ref A: 2F6C29D1FC00470D9565ED593BCC3A5E Ref B: MAA201060514053 Ref C: 2025-03-09T21:32:26Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Active","createdDateTime":"2025-03-09T20:54:06.761Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:06.761Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Active","createdDateTime":"2025-03-09T21:32:26.08Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:26.08Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -211,17 +211,17 @@ interactions: connection: - keep-alive content-length: - - '523' + - '521' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:08 GMT + - Sun, 09 Mar 2025 21:32:28 GMT mise-correlation-id: - - 2a3b38e8-12e4-4ea4-af39-178a2d0fe38a + - ddb6e54f-7ce8-47cb-97a0-eaa24915cfd9 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205408Z-16bc6c9867btmgl7hC1SG1qumc00000001y0000000008z0r + - 20250309T213227Z-16bc6c9867bpntnchC1SG1n3tn0000000240000000002frr x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -230,7 +230,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-09T20:53:23Z", + body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-09T21:31:40Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Pause Trigger", "description": "Trigger schedule for pause test case", "state": "Paused"}' @@ -248,12 +248,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Paused","createdDateTime":"2025-03-09T20:54:06.761Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:08.988Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Paused","createdDateTime":"2025-03-09T21:32:26.08Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:28.304Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -262,17 +262,17 @@ interactions: connection: - keep-alive content-length: - - '501' + - '500' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:09 GMT + - Sun, 09 Mar 2025 21:32:28 GMT mise-correlation-id: - - b0ce4924-5cac-4ed4-8c91-bbb1df85f99c + - c7c26d12-3c44-4f44-b870-8ede296d2c77 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205408Z-16bc6c9867btmgl7hC1SG1qumc00000001y0000000008z1h + - 20250309T213228Z-16bc6c9867bpntnchC1SG1n3tn0000000240000000002ftq x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -295,7 +295,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:31.1669562Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:31.1669562Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.5308542Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.5308542Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -304,9 +304,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:09 GMT + - Sun, 09 Mar 2025 21:32:28 GMT etag: - - '"9f04edab-0000-0200-0000-67cdffe00000"' + - '"a0041a02-0000-0200-0000-67ce08db0000"' expires: - '-1' pragma: @@ -320,9 +320,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 8D99847822AC457593D5ACA4DB364C82 Ref B: MAA201060513019 Ref C: 2025-03-09T20:54:09Z' + - 'Ref A: CB2C00C1F87044FA98C9DFD3CAD1ABAF Ref B: MAA201060514023 Ref C: 2025-03-09T21:32:28Z' status: code: 200 message: OK @@ -338,12 +338,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://bcdfdee2-38ea-436d-958d-2d7e95f3bd3b.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Paused","createdDateTime":"2025-03-09T20:54:06.761Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:08.988Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Paused","createdDateTime":"2025-03-09T21:32:26.08Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:28.304Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -352,17 +352,17 @@ interactions: connection: - keep-alive content-length: - - '501' + - '500' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:11 GMT + - Sun, 09 Mar 2025 21:32:31 GMT mise-correlation-id: - - 141809cc-320e-4f18-9e13-6b747e528d98 + - 87c2d23d-d5d7-489f-8a7f-171c97cb25f8 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205410Z-16bc6c9867bc9m42hC1SG1edwg000000027g0000000047vu + - 20250309T213229Z-16bc6c9867bhn5b6hC1SG115gc00000001k0000000004cvk x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml index 17afe06b424..d672a05bf0c 100644 --- a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:29.8958576Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:29.8958576Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"fdd504e6-9fc6-4390-a946-50cb8d05e39f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.7423711Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.7423711Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"6fad5be4-ef7a-4213-a517-35056a94c5f6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:05 GMT + - Sun, 09 Mar 2025 21:32:23 GMT etag: - - '"9f04ffab-0000-0200-0000-67cdffe30000"' + - '"a0042902-0000-0200-0000-67ce08dd0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: B61B6F409CCF444795921B9040D435F0 Ref B: MAA201060513027 Ref C: 2025-03-09T20:54:05Z' + - 'Ref A: 63DCB0E43A8546CCA7093FB289EC647D Ref B: MAA201060516011 Ref C: 2025-03-09T21:32:23Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://fdd504e6-9fc6-4390-a946-50cb8d05e39f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://6fad5be4-ef7a-4213-a517-35056a94c5f6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-update @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:07 GMT + - Sun, 09 Mar 2025 21:32:25 GMT mise-correlation-id: - - 85b211fb-7f48-4881-9b38-1ebde8849abc + - 21f0756b-9bcb-417c-a080-a0a42750541d strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205406Z-16bc6c9867bxt797hC1SG12utn00000001bg00000000dfsq + - 20250309T213224Z-16bc6c9867btgkv4hC1SG1pnx8000000021g0000000055wg x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T20:53:23Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:31:40Z", "state": "Active", "displayName": "Update Trigger", "description": "Trigger schedule for update test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://fdd504e6-9fc6-4390-a946-50cb8d05e39f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://6fad5be4-ef7a-4213-a517-35056a94c5f6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.201Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.201Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.532Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.532Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:07 GMT + - Sun, 09 Mar 2025 21:32:25 GMT location: - - https://fdd504e6-9fc6-4390-a946-50cb8d05e39f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + - https://6fad5be4-ef7a-4213-a517-35056a94c5f6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview mise-correlation-id: - - 66f1fc4a-7596-4d8e-9abe-fc0993df1ef7 + - 63893d7b-66d2-48a3-a780-df4c6600ce5a strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205407Z-16bc6c9867bxt797hC1SG12utn00000001bg00000000dfur + - 20250309T213225Z-16bc6c9867btgkv4hC1SG1pnx8000000021g0000000055x9 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:29.8958576Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:29.8958576Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"fdd504e6-9fc6-4390-a946-50cb8d05e39f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.7423711Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.7423711Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"6fad5be4-ef7a-4213-a517-35056a94c5f6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:07 GMT + - Sun, 09 Mar 2025 21:32:26 GMT etag: - - '"9f04ffab-0000-0200-0000-67cdffe30000"' + - '"a0042902-0000-0200-0000-67ce08dd0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: E25D24CC971443F5B28E069A3F288869 Ref B: MAA201060513053 Ref C: 2025-03-09T20:54:07Z' + - 'Ref A: B239EA6A034A434EA5977B20D83988E4 Ref B: MAA201060516033 Ref C: 2025-03-09T21:32:25Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://fdd504e6-9fc6-4390-a946-50cb8d05e39f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://6fad5be4-ef7a-4213-a517-35056a94c5f6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:23Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:23Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.201Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.201Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.532Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.532Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:09 GMT + - Sun, 09 Mar 2025 21:32:27 GMT mise-correlation-id: - - 4e8c3d43-9165-420d-a39a-6dc158847403 + - d5cf0be7-a22f-4fa0-a7a9-838ae25bbde7 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205408Z-16bc6c9867bljt59hC1SG1cz54000000020g000000001uhn + - 20250309T213226Z-16bc6c9867bgcvffhC1SG1uu3n00000001tg000000005uqa x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -248,12 +248,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://fdd504e6-9fc6-4390-a946-50cb8d05e39f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://6fad5be4-ef7a-4213-a517-35056a94c5f6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: string: '{"testIds":["test-id-update"],"startDateTime":"2025-04-01T00:00:00Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":2},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-14T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Updated Test Trigger","triggerId":"test-trigger-id-update","description":"Updated - test trigger schedule","createdDateTime":"2025-03-09T20:54:07.201Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:09.434Z","lastModifiedBy":"hbisht@microsoft.com"}' + test trigger schedule","createdDateTime":"2025-03-09T21:32:25.532Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:27.778Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -266,13 +266,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:09 GMT + - Sun, 09 Mar 2025 21:32:27 GMT mise-correlation-id: - - 4b37ad28-5345-45a2-8736-1f372927ebcd + - 78ec0813-c0e1-45c5-9f0a-b6790c1660f1 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205409Z-16bc6c9867bljt59hC1SG1cz54000000020g000000001um0 + - 20250309T213227Z-16bc6c9867bgcvffhC1SG1uu3n00000001tg000000005us5 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml index bddfdef0be9..95cfaa500cb 100644 --- a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.5457167Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.5457167Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4931843Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4931843Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:05 GMT + - Sun, 09 Mar 2025 21:32:23 GMT etag: - - '"9f04faab-0000-0200-0000-67cdffe20000"' + - '"a0042102-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: CE9438A18F0F4C60863E1654E4FC43AF Ref B: MAA201060514021 Ref C: 2025-03-09T20:54:05Z' + - 'Ref A: 6A30DD8298854336AAADA98BA0B6155D Ref B: MAA201060515029 Ref C: 2025-03-09T21:32:23Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: update-invalid-trigger @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 20:54:07 GMT + - Sun, 09 Mar 2025 21:32:25 GMT mise-correlation-id: - - 29dfa6e2-8964-4532-abb8-e73b2584799d + - 72078722-f097-47eb-bb27-9a73495b0bf8 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T205406Z-16bc6c9867bfx5n4hC1SG10fvg00000001s0000000006g5x + - 20250309T213224Z-16bc6c9867bxt797hC1SG12utn00000001ng00000000122q x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T20:53:24Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:31:40Z", "state": "Active", "displayName": "Update Trigger", "description": "Trigger schedule for update test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:24Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:24Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.287Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.836Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.836Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:07 GMT + - Sun, 09 Mar 2025 21:32:25 GMT location: - - https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + - https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview mise-correlation-id: - - 2357e087-2e4e-4e29-b4a4-92948dc9b801 + - 23e5fcf2-3797-4b92-8b6b-ee483b0a5b96 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205407Z-16bc6c9867bfx5n4hC1SG10fvg00000001s0000000006g7b + - 20250309T213225Z-16bc6c9867bxt797hC1SG12utn00000001ng00000000123e x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.5457167Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.5457167Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4931843Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4931843Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:08 GMT + - Sun, 09 Mar 2025 21:32:26 GMT etag: - - '"9f04faab-0000-0200-0000-67cdffe20000"' + - '"a0042102-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: D941C5B1D3C24F93B2922B64A6984F77 Ref B: MAA201060516033 Ref C: 2025-03-09T20:54:07Z' + - 'Ref A: 85825D2189DC42999102633C7696185E Ref B: MAA201060514035 Ref C: 2025-03-09T21:32:26Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:24Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:24Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.287Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.836Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.836Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:09 GMT + - Sun, 09 Mar 2025 21:32:27 GMT mise-correlation-id: - - 3e41f274-ac58-4527-acfd-aea6ec83a9f4 + - e9004e35-de1c-441c-9598-351653ead2bd strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205408Z-16bc6c9867bwklg4hC1SG166x000000002900000000018tq + - 20250309T213226Z-16bc6c9867btmgl7hC1SG1qumc000000025g000000000ayq x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -244,7 +244,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.5457167Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.5457167Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4931843Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4931843Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -253,9 +253,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:09 GMT + - Sun, 09 Mar 2025 21:32:27 GMT etag: - - '"9f04faab-0000-0200-0000-67cdffe20000"' + - '"a0042102-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -271,7 +271,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: DA27EF670B6D409F9DADE8A46C57F573 Ref B: MAA201060516017 Ref C: 2025-03-09T20:54:09Z' + - 'Ref A: F30E17B0932F474B8C4D3DFB9E597C75 Ref B: MAA201060516017 Ref C: 2025-03-09T21:32:27Z' status: code: 200 message: OK @@ -287,12 +287,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:24Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:24Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.287Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.836Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.836Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -305,13 +305,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:11 GMT + - Sun, 09 Mar 2025 21:32:28 GMT mise-correlation-id: - - 66d387f5-8229-4676-a680-3dcc2b8d8e8f + - 1f223b4b-c1b8-46c7-bf45-42710e0efcb8 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205410Z-16bc6c9867bfx5n4hC1SG10fvg00000001qg000000009f6w + - 20250309T213228Z-16bc6c9867bc9m42hC1SG1edwg000000027g000000008ne3 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -334,7 +334,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.5457167Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.5457167Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4931843Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4931843Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -343,9 +343,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:12 GMT + - Sun, 09 Mar 2025 21:32:29 GMT etag: - - '"9f04faab-0000-0200-0000-67cdffe20000"' + - '"a0042102-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -361,7 +361,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 32C2F74AF0634733AF23D3243F26EAAD Ref B: MAA201060513049 Ref C: 2025-03-09T20:54:11Z' + - 'Ref A: A0691E5D76C44DB5906EA35BDE2F4AE3 Ref B: MAA201060515051 Ref C: 2025-03-09T21:32:29Z' status: code: 200 message: OK @@ -377,12 +377,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:24Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:24Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.287Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.836Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.836Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -395,13 +395,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:13 GMT + - Sun, 09 Mar 2025 21:32:30 GMT mise-correlation-id: - - 03f74ff6-fa9d-4d62-ad0a-7425e328c1ab + - a023612e-6558-4832-a35c-69adeb4de9a6 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205412Z-16bc6c9867bljt59hC1SG1cz5400000001y0000000006e3n + - 20250309T213230Z-16bc6c9867btgkv4hC1SG1pnx800000001y000000000b6ne x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -424,7 +424,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.5457167Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.5457167Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4931843Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4931843Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -433,9 +433,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:13 GMT + - Sun, 09 Mar 2025 21:32:30 GMT etag: - - '"9f04faab-0000-0200-0000-67cdffe20000"' + - '"a0042102-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -451,7 +451,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: C496816C4BAD4E92B54657537B6DC084 Ref B: MAA201060516023 Ref C: 2025-03-09T20:54:13Z' + - 'Ref A: B5047C3D2209421BADB1ABCEF08531D8 Ref B: MAA201060514031 Ref C: 2025-03-09T21:32:30Z' status: code: 200 message: OK @@ -467,12 +467,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:24Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:24Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.287Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.836Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.836Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -485,13 +485,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:15 GMT + - Sun, 09 Mar 2025 21:32:32 GMT mise-correlation-id: - - 070e9dfa-0241-4e4d-add8-0be3a9f98a2d + - af902fb9-c97b-4421-a3fd-5af21c4ce658 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205414Z-16bc6c9867b2q4x9hC1SG1enhn00000001x0000000009x7z + - 20250309T213231Z-16bc6c9867bpbnpmhC1SG1p0kn000000028g000000007dbp x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -514,7 +514,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T20:53:32.5457167Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T20:53:32.5457167Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4931843Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4931843Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -523,9 +523,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:16 GMT + - Sun, 09 Mar 2025 21:32:32 GMT etag: - - '"9f04faab-0000-0200-0000-67cdffe20000"' + - '"a0042102-0000-0200-0000-67ce08dc0000"' expires: - '-1' pragma: @@ -541,7 +541,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 5C04929BEF884FB6B952D0E14B68556E Ref B: MAA201060513039 Ref C: 2025-03-09T20:54:15Z' + - 'Ref A: 8AB4EA5A8EF84597A7637453A85D2C57 Ref B: MAA201060515031 Ref C: 2025-03-09T21:32:32Z' status: code: 200 message: OK @@ -557,12 +557,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://09d57204-d487-4c33-8556-321444325904.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T20:53:24Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T20:53:24Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T20:54:07.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T20:54:07.287Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.836Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.836Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -575,13 +575,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 20:54:17 GMT + - Sun, 09 Mar 2025 21:32:34 GMT mise-correlation-id: - - 8ef06f50-7f93-4796-9ec2-82c703aaa9c6 + - a3affca4-d34c-4c0a-96af-15581a49d180 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T205416Z-16bc6c9867bh79t4hC1SG1qqen00000001500000000001cn + - 20250309T213233Z-16bc6c9867btmgl7hC1SG1qumc0000000250000000001a21 x-cache: - CONFIG_NOCACHE x-content-type-options: From 7a3db8764068243dd4d771088ee13239fedc02b0 Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Sun, 9 Mar 2025 21:56:38 +0000 Subject: [PATCH 10/16] test cases and recordings updated --- ...t_create_and_verify_trigger_schedules.yaml | 266 +++++++++--------- ...create_trigger_schedule_invalid_cases.yaml | 80 +++--- .../test_delete_trigger_schedule.yaml | 74 ++--- .../test_enable_trigger_schedule.yaml | 122 ++++---- .../test_list_trigger_schedules.yaml | 62 ++-- .../test_pause_trigger_schedule.yaml | 96 +++---- .../test_update_trigger_schedule.yaml | 76 ++--- ...update_trigger_schedule_invalid_cases.yaml | 132 ++++----- .../latest/test_load_trigger_schedule.py | 25 +- 9 files changed, 463 insertions(+), 470 deletions(-) diff --git a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml index 377f93b3e36..928ac6d8e9a 100644 --- a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:23 GMT + - Sun, 09 Mar 2025 21:52:57 GMT etag: - - '"a0042702-0000-0200-0000-67ce08dc0000"' + - '"a004d614-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 4230AC4FCE25419A8FCDC5F4E7EAFB15 Ref B: MAA201060514027 Ref C: 2025-03-09T21:32:23Z' + - 'Ref A: D9FF78279A5146C18BD1C7C023C1DBE0 Ref B: MAA201060515035 Ref C: 2025-03-09T21:52:56Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-daily @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:25 GMT + - Sun, 09 Mar 2025 21:52:58 GMT mise-correlation-id: - - 5830a96e-9a6a-4f51-977e-c01997546eb9 + - 99d0047e-24cd-4d60-b3f9-fbd729f436e8 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213224Z-16bc6c9867bfx5n4hC1SG10fvg00000001s000000000apq6 + - 20250309T215257Z-16bc6c9867b2q4x9hC1SG1enhn000000024g000000003vuh x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-daily"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:31:40Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:52:15Z", "state": "Active", "displayName": "Daily Trigger", "description": "Trigger schedule for daily test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule - for daily test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.462Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.462Z","lastModifiedBy":"hbisht@microsoft.com"}' + for daily test case","state":"Active","createdDateTime":"2025-03-09T21:52:58.825Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:58.825Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:25 GMT + - Sun, 09 Mar 2025 21:52:58 GMT location: - - https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + - https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview mise-correlation-id: - - ad780e8b-0085-4241-987d-986bcb838dd8 + - 97869879-dbcd-4f4b-a329-199c04dfc00d strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213225Z-16bc6c9867bfx5n4hC1SG10fvg00000001s000000000aprb + - 20250309T215258Z-16bc6c9867b2q4x9hC1SG1enhn000000024g000000003vwe x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:26 GMT + - Sun, 09 Mar 2025 21:52:59 GMT etag: - - '"a0042702-0000-0200-0000-67ce08dc0000"' + - '"a004d614-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 98E6638209D24812B649AD4B5727EC16 Ref B: MAA201060513037 Ref C: 2025-03-09T21:32:25Z' + - 'Ref A: 302717F948A24217BF1D80BD914EDD74 Ref B: MAA201060514035 Ref C: 2025-03-09T21:52:59Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule - for daily test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.462Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.462Z","lastModifiedBy":"hbisht@microsoft.com"}' + for daily test case","state":"Active","createdDateTime":"2025-03-09T21:52:58.825Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:58.825Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:27 GMT + - Sun, 09 Mar 2025 21:53:00 GMT mise-correlation-id: - - 2c86be7b-cb03-43d6-a313-8788b8aee188 + - 6869c615-b379-439a-bed3-948fe86588f7 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213226Z-16bc6c9867bwklg4hC1SG166x000000002900000000061rq + - 20250309T215259Z-16bc6c9867bpbnpmhC1SG1p0kn00000002ag000000005tfa x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -244,7 +244,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -253,9 +253,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:28 GMT + - Sun, 09 Mar 2025 21:53:00 GMT etag: - - '"a0042702-0000-0200-0000-67ce08dc0000"' + - '"a004d614-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -269,9 +269,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: CF0F9D6D1C8148A9ADFC8D6FF3F2FD26 Ref B: MAA201060516033 Ref C: 2025-03-09T21:32:27Z' + - 'Ref A: D1C6EB8AEEF943C2AC169DA05B885C23 Ref B: MAA201060513037 Ref C: 2025-03-09T21:53:00Z' status: code: 200 message: OK @@ -287,7 +287,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-weekly @@ -300,15 +300,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:28 GMT + - Sun, 09 Mar 2025 21:53:01 GMT mise-correlation-id: - - ea1bbf96-2851-4a51-ad08-1d8f9d6ec383 + - 94cee0fa-b975-4a7d-b17c-33d67c50b3b0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213228Z-16bc6c9867bfx5n4hC1SG10fvg00000001qg00000000dzg9 + - 20250309T215301Z-16bc6c9867bfx5n4hC1SG10fvg00000001yg000000001t6d x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -321,7 +321,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-weekly"], "recurrence": {"frequency": "Weekly", "interval": 1, "daysOfWeek": ["Monday"]}, "startDateTime": - "2025-03-09T21:31:40Z", "state": "Active", "displayName": "Weekly Trigger", + "2025-03-09T21:52:15Z", "state": "Active", "displayName": "Weekly Trigger", "description": "Trigger schedule for weekly test case"}' headers: Accept: @@ -337,12 +337,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule - for weekly test case","state":"Active","createdDateTime":"2025-03-09T21:32:29.321Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:29.321Z","lastModifiedBy":"hbisht@microsoft.com"}' + for weekly test case","state":"Active","createdDateTime":"2025-03-09T21:53:02.056Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:02.056Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -353,15 +353,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:29 GMT + - Sun, 09 Mar 2025 21:53:02 GMT location: - - https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + - https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview mise-correlation-id: - - 7412d6e1-3062-46bc-80ea-0c898166f5b1 + - 5195d4c8-f75e-4d3d-a43e-e696bbc24556 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213228Z-16bc6c9867bfx5n4hC1SG10fvg00000001qg00000000dzhz + - 20250309T215301Z-16bc6c9867bfx5n4hC1SG10fvg00000001yg000000001t7w x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -384,7 +384,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -393,9 +393,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:30 GMT + - Sun, 09 Mar 2025 21:53:02 GMT etag: - - '"a0042702-0000-0200-0000-67ce08dc0000"' + - '"a004d614-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -411,7 +411,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: EA73E509A99A45648D35C719B94FD4DA Ref B: MAA201060516019 Ref C: 2025-03-09T21:32:29Z' + - 'Ref A: 9FFBB91B600B4DA998100F51DC4ADBE6 Ref B: MAA201060513019 Ref C: 2025-03-09T21:53:02Z' status: code: 200 message: OK @@ -427,12 +427,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule - for weekly test case","state":"Active","createdDateTime":"2025-03-09T21:32:29.321Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:29.321Z","lastModifiedBy":"hbisht@microsoft.com"}' + for weekly test case","state":"Active","createdDateTime":"2025-03-09T21:53:02.056Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:02.056Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -445,13 +445,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:30 GMT + - Sun, 09 Mar 2025 21:53:03 GMT mise-correlation-id: - - 2fc05444-d7f8-42ab-8a0c-c1e6ea0cc7ba + - 0c6028fd-13e2-46e4-83f2-ab30b2cd9f56 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213230Z-16bc6c9867btgkv4hC1SG1pnx8000000023g000000001x32 + - 20250309T215302Z-16bc6c9867bc9m42hC1SG1edwg000000027g00000000ba5c x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -474,7 +474,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -483,9 +483,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:31 GMT + - Sun, 09 Mar 2025 21:53:04 GMT etag: - - '"a0042702-0000-0200-0000-67ce08dc0000"' + - '"a004d614-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -501,7 +501,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 0CEAB63075B24183B8946BA83276EE4B Ref B: MAA201060516023 Ref C: 2025-03-09T21:32:31Z' + - 'Ref A: 24E63E9A23AC425596F69BD147B6DEAF Ref B: MAA201060516023 Ref C: 2025-03-09T21:53:03Z' status: code: 200 message: OK @@ -517,7 +517,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-monthly-dates @@ -530,15 +530,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:32 GMT + - Sun, 09 Mar 2025 21:53:05 GMT mise-correlation-id: - - 6f04293b-0ec2-4104-a624-5d5bb8e29344 + - c43f1ba7-ffac-4249-82ff-3c3d88dcce5a strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213232Z-16bc6c9867bwklg4hC1SG166x000000002bg000000001e41 + - 20250309T215304Z-16bc6c9867bpbnpmhC1SG1p0kn000000028g000000009vr6 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -551,7 +551,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-dates"], "recurrence": {"frequency": "MonthlyByDates", "interval": 1, "datesInMonth": - [1, 15]}, "startDateTime": "2025-03-09T21:31:40Z", "state": "Active", "displayName": + [1, 15]}, "startDateTime": "2025-03-09T21:52:15Z", "state": "Active", "displayName": "Monthly By Dates Trigger", "description": "Trigger schedule for monthly by dates test case"}' headers: @@ -568,12 +568,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger - schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T21:32:33.072Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:33.072Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T21:53:05.768Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:05.768Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -584,15 +584,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:33 GMT + - Sun, 09 Mar 2025 21:53:05 GMT location: - - https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + - https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview mise-correlation-id: - - d2ef30ef-8bdd-42e2-bd9f-c9948c5d0db4 + - d4ff9fec-3d82-4805-a833-481b01439ed6 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213232Z-16bc6c9867bwklg4hC1SG166x000000002bg000000001e4x + - 20250309T215305Z-16bc6c9867bpbnpmhC1SG1p0kn000000028g000000009vs1 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -615,7 +615,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -624,9 +624,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:34 GMT + - Sun, 09 Mar 2025 21:53:06 GMT etag: - - '"a0042702-0000-0200-0000-67ce08dc0000"' + - '"a004d614-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -640,9 +640,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 382C881965B94161A93B9F201A419B05 Ref B: MAA201060514019 Ref C: 2025-03-09T21:32:33Z' + - 'Ref A: AF13A6442A1D43919B16C021C4FAB7EC Ref B: MAA201060514019 Ref C: 2025-03-09T21:53:06Z' status: code: 200 message: OK @@ -658,12 +658,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger - schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T21:32:33.072Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:33.072Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T21:53:05.768Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:05.768Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -676,13 +676,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:35 GMT + - Sun, 09 Mar 2025 21:53:07 GMT mise-correlation-id: - - cd66d96e-2b34-43b2-8a91-33e75097e5dd + - 43669d68-f020-41d5-a066-d0d91a45aa4d strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213234Z-16bc6c9867bps5cxhC1SG17nv400000001ng0000000051nw + - 20250309T215306Z-16bc6c9867bhn5b6hC1SG115gc00000001pg000000000u02 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -705,7 +705,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -714,9 +714,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:35 GMT + - Sun, 09 Mar 2025 21:53:07 GMT etag: - - '"a0042702-0000-0200-0000-67ce08dc0000"' + - '"a004d614-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -730,9 +730,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 7ABC4DDD7DB942B5A6AC73C51FA12072 Ref B: MAA201060513029 Ref C: 2025-03-09T21:32:35Z' + - 'Ref A: 16C100189DF84CBEBA6B5AA3193BA3B9 Ref B: MAA201060516029 Ref C: 2025-03-09T21:53:07Z' status: code: 200 message: OK @@ -748,7 +748,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-monthly-days @@ -761,15 +761,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:37 GMT + - Sun, 09 Mar 2025 21:53:08 GMT mise-correlation-id: - - 33aadd19-3ca2-4a15-9a3f-1c9bb1527388 + - bacad3ce-9d9c-45bf-b4e3-730808053a27 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213236Z-16bc6c9867bh79t4hC1SG1qqen0000000150000000004mpy + - 20250309T215308Z-16bc6c9867b562q7hC1SG1b75000000001rg00000000ch0u x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -782,7 +782,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-days"], "recurrence": {"frequency": "MonthlyByDays", "interval": 1, "weekDaysInMonth": ["Monday"], - "index": 1}, "startDateTime": "2025-03-09T21:31:40Z", "state": "Active", "displayName": + "index": 1}, "startDateTime": "2025-03-09T21:52:15Z", "state": "Active", "displayName": "Monthly By Days Trigger", "description": "Trigger schedule for monthly by days test case"}' headers: @@ -799,12 +799,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger - schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T21:32:37.364Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:37.364Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T21:53:08.991Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:08.991Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -815,15 +815,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:37 GMT + - Sun, 09 Mar 2025 21:53:09 GMT location: - - https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + - https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview mise-correlation-id: - - d57f808b-9ee7-4ae5-8bd5-c59d6634f0fe + - a2c5684a-325e-4540-aa41-9f35efecfbd8 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213237Z-16bc6c9867bh79t4hC1SG1qqen0000000150000000004mrr + - 20250309T215308Z-16bc6c9867b562q7hC1SG1b75000000001rg00000000ch2x x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -846,7 +846,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -855,9 +855,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:37 GMT + - Sun, 09 Mar 2025 21:53:08 GMT etag: - - '"a0042702-0000-0200-0000-67ce08dc0000"' + - '"a004d614-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -873,7 +873,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 25A1049B188A45C7B575B66FB90D52E9 Ref B: MAA201060516023 Ref C: 2025-03-09T21:32:37Z' + - 'Ref A: 88EEDC484C374986B7588CE3F25A7373 Ref B: MAA201060513039 Ref C: 2025-03-09T21:53:09Z' status: code: 200 message: OK @@ -889,12 +889,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger - schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T21:32:37.364Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:37.364Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T21:53:08.991Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:08.991Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -907,13 +907,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:39 GMT + - Sun, 09 Mar 2025 21:53:10 GMT mise-correlation-id: - - 19ca4d5c-3ec5-47ad-b347-802be5709ff5 + - 28504d7e-7da7-4c36-94bb-f9f7b4a0fbf8 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213238Z-16bc6c9867b5kr5vhC1SG1zp0c000000024g0000000003hp + - 20250309T215309Z-16bc6c9867bps5cxhC1SG17nv400000001ng0000000075d0 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -936,7 +936,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -945,9 +945,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:39 GMT + - Sun, 09 Mar 2025 21:53:11 GMT etag: - - '"a0042702-0000-0200-0000-67ce08dc0000"' + - '"a004d614-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -963,7 +963,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: C494425D60F2432B9F82640547B84BA2 Ref B: MAA201060514031 Ref C: 2025-03-09T21:32:39Z' + - 'Ref A: 1450777E44724348BD94F4F19C92AA29 Ref B: MAA201060516023 Ref C: 2025-03-09T21:53:10Z' status: code: 200 message: OK @@ -979,7 +979,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-cron @@ -992,15 +992,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:41 GMT + - Sun, 09 Mar 2025 21:53:12 GMT mise-correlation-id: - - 97315c25-f74a-4eff-a862-5c483bdd7e46 + - 2fadbc5c-b020-424c-93bb-3cd4f14ccf49 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213240Z-16bc6c9867b562q7hC1SG1b75000000001rg00000000a6nn + - 20250309T215311Z-16bc6c9867bh79t4hC1SG1qqen0000000150000000006wgq x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -1012,7 +1012,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-cron"], "recurrence": - {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-09T21:31:40Z", + {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-09T21:52:15Z", "state": "Active", "displayName": "Cron Trigger", "description": "Trigger schedule for cron test case"}' headers: @@ -1029,13 +1029,13 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Cron","cronExpression":"0 + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Cron","cronExpression":"0 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule - for cron test case","state":"Active","createdDateTime":"2025-03-09T21:32:41.616Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:41.616Z","lastModifiedBy":"hbisht@microsoft.com"}' + for cron test case","state":"Active","createdDateTime":"2025-03-09T21:53:12.724Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:12.724Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -1046,15 +1046,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:41 GMT + - Sun, 09 Mar 2025 21:53:12 GMT location: - - https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + - https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview mise-correlation-id: - - 468f5fd4-72d8-469d-8827-131875ce825e + - 530a09fb-4fe4-419b-affe-dce430d89df5 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213241Z-16bc6c9867b562q7hC1SG1b75000000001rg00000000a6pd + - 20250309T215312Z-16bc6c9867bh79t4hC1SG1qqen0000000150000000006wk0 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -1077,7 +1077,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:50.0866769Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:50.0866769Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1086,9 +1086,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:42 GMT + - Sun, 09 Mar 2025 21:53:12 GMT etag: - - '"a0042702-0000-0200-0000-67ce08dc0000"' + - '"a004d614-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -1104,7 +1104,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: DD28DD30079542CB8E5278FF36C511AA Ref B: MAA201060516011 Ref C: 2025-03-09T21:32:41Z' + - 'Ref A: 37B34985AF49408E9B67F7F505B88D70 Ref B: MAA201060515033 Ref C: 2025-03-09T21:53:13Z' status: code: 200 message: OK @@ -1120,13 +1120,13 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://099c1ed8-2789-45be-93a6-45bd56170747.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Cron","cronExpression":"0 + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Cron","cronExpression":"0 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule - for cron test case","state":"Active","createdDateTime":"2025-03-09T21:32:41.616Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:41.616Z","lastModifiedBy":"hbisht@microsoft.com"}' + for cron test case","state":"Active","createdDateTime":"2025-03-09T21:53:12.724Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:12.724Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -1139,13 +1139,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:43 GMT + - Sun, 09 Mar 2025 21:53:13 GMT mise-correlation-id: - - 8a03135a-f57d-43de-9549-ac4366e04f0b + - fa143318-00ab-4801-b64c-418dc306f53e strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213243Z-16bc6c9867btgkv4hC1SG1pnx8000000021g0000000056p1 + - 20250309T215313Z-16bc6c9867bndw6zhC1SG1arb0000000026g000000000csx x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml b/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml index 8a73d18c4c2..6779fe5426c 100644 --- a/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.3999374Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.3999374Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.5273415Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.5273415Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:23 GMT + - Sun, 09 Mar 2025 21:52:56 GMT etag: - - '"a0042302-0000-0200-0000-67ce08dc0000"' + - '"a004ec14-0000-0200-0000-67ce0daf0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 179E95DF85CD4DC9833C389B26F5E8DA Ref B: MAA201060514021 Ref C: 2025-03-09T21:32:23Z' + - 'Ref A: 7E4613A99E504D1CB7651F7333A6C0C9 Ref B: MAA201060513027 Ref C: 2025-03-09T21:52:55Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-daily-trigger?api-version=2024-12-01-preview + uri: https://3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-daily-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-daily-trigger @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:25 GMT + - Sun, 09 Mar 2025 21:52:57 GMT mise-correlation-id: - - c9731df8-20d5-4b33-919d-57748279d7d3 + - 2ddd378e-0e62-4a85-9a6c-deda19616ac8 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213224Z-16bc6c9867bzh7v7hC1SG1u0z8000000026g00000000btrx + - 20250309T215256Z-16bc6c9867bzh7v7hC1SG1u0z8000000026g00000000eesu x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -103,7 +103,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.3999374Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.3999374Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.5273415Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.5273415Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -112,9 +112,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:26 GMT + - Sun, 09 Mar 2025 21:52:58 GMT etag: - - '"a0042302-0000-0200-0000-67ce08dc0000"' + - '"a004ec14-0000-0200-0000-67ce0daf0000"' expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 6BEA8922C809483A86630307D2E7E57C Ref B: MAA201060515025 Ref C: 2025-03-09T21:32:26Z' + - 'Ref A: B314A3B75B3347B3A5F1E3FDAD448225 Ref B: MAA201060514027 Ref C: 2025-03-09T21:52:57Z' status: code: 200 message: OK @@ -146,7 +146,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-weekly-trigger?api-version=2024-12-01-preview + uri: https://3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-weekly-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-weekly-trigger @@ -159,15 +159,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:27 GMT + - Sun, 09 Mar 2025 21:52:59 GMT mise-correlation-id: - - c57d43aa-45b4-4a52-bfcd-05d19ae914d5 + - 9c0eb616-d220-4577-ae06-dad1bc05958f strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213226Z-16bc6c9867btmgl7hC1SG1qumc00000001y000000000dpc8 + - 20250309T215258Z-16bc6c9867bljt59hC1SG1cz54000000020g000000008t5h x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -192,7 +192,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.3999374Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.3999374Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.5273415Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.5273415Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -201,9 +201,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:27 GMT + - Sun, 09 Mar 2025 21:52:59 GMT etag: - - '"a0042302-0000-0200-0000-67ce08dc0000"' + - '"a004ec14-0000-0200-0000-67ce0daf0000"' expires: - '-1' pragma: @@ -219,7 +219,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 2FD2EAC6FAEF49DCA0F9B77F859BA26A Ref B: MAA201060513019 Ref C: 2025-03-09T21:32:27Z' + - 'Ref A: BCED56659E544309845D67713B0A2883 Ref B: MAA201060516017 Ref C: 2025-03-09T21:52:59Z' status: code: 200 message: OK @@ -235,7 +235,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-dates-trigger?api-version=2024-12-01-preview + uri: https://3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-dates-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-monthly-dates-trigger @@ -248,15 +248,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:29 GMT + - Sun, 09 Mar 2025 21:53:01 GMT mise-correlation-id: - - 676030a3-d838-4ffe-a103-ad5ed51e68e3 + - b89f396b-f7b9-4850-adc3-71cfd22f63dc strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213228Z-16bc6c9867bh79t4hC1SG1qqen000000015g000000003bf6 + - 20250309T215300Z-16bc6c9867btgkv4hC1SG1pnx8000000023g00000000491q x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -281,7 +281,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.3999374Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.3999374Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.5273415Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.5273415Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -290,9 +290,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:30 GMT + - Sun, 09 Mar 2025 21:53:02 GMT etag: - - '"a0042302-0000-0200-0000-67ce08dc0000"' + - '"a004ec14-0000-0200-0000-67ce0daf0000"' expires: - '-1' pragma: @@ -308,7 +308,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: D5A17EFA264E4FAA81A05398B91F419E Ref B: MAA201060515039 Ref C: 2025-03-09T21:32:29Z' + - 'Ref A: 3CB6780B56254C3599EC513A3DD0A83B Ref B: MAA201060515051 Ref C: 2025-03-09T21:53:01Z' status: code: 200 message: OK @@ -324,7 +324,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-days-trigger?api-version=2024-12-01-preview + uri: https://3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-days-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-monthly-days-trigger @@ -337,15 +337,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:31 GMT + - Sun, 09 Mar 2025 21:53:03 GMT mise-correlation-id: - - 3c3e85dd-1cf7-475e-81f6-fd28f558f25a + - 863e770c-b78b-495c-9333-7b0a35c95899 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213230Z-16bc6c9867b2q4x9hC1SG1enhn0000000250000000000hs7 + - 20250309T215302Z-16bc6c9867bgcvffhC1SG1uu3n00000001s000000000am5s x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -370,7 +370,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.3999374Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.3999374Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.5273415Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.5273415Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -379,9 +379,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:32 GMT + - Sun, 09 Mar 2025 21:53:04 GMT etag: - - '"a0042302-0000-0200-0000-67ce08dc0000"' + - '"a004ec14-0000-0200-0000-67ce0daf0000"' expires: - '-1' pragma: @@ -397,7 +397,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 3F750228355A48468BD2536C91E6446E Ref B: MAA201060513025 Ref C: 2025-03-09T21:32:31Z' + - 'Ref A: F7CB8A18353A49D3A8778B5B3F703686 Ref B: MAA201060514031 Ref C: 2025-03-09T21:53:03Z' status: code: 200 message: OK @@ -413,7 +413,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://061dbbc5-d02c-4233-9313-bc6d84529cea.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-cron-trigger?api-version=2024-12-01-preview + uri: https://3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-cron-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-cron-trigger @@ -426,15 +426,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:33 GMT + - Sun, 09 Mar 2025 21:53:05 GMT mise-correlation-id: - - 298b6471-c380-422d-bfbe-46d20531ebcf + - b4b80eb2-9bf2-4e51-9ca6-bcd1e1e91908 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213232Z-16bc6c9867bpbnpmhC1SG1p0kn00000002c00000000010a5 + - 20250309T215304Z-16bc6c9867bpbnpmhC1SG1p0kn00000002c0000000003pq3 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml index 8181b05085e..c2c96b9b4c9 100644 --- a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml @@ -14,18 +14,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4337Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4337Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.3353111Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.3353111Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '659' + - '665' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:23 GMT + - Sun, 09 Mar 2025 21:52:56 GMT etag: - - '"a0041202-0000-0200-0000-67ce08da0000"' + - '"a004e814-0000-0200-0000-67ce0dae0000"' expires: - '-1' pragma: @@ -39,9 +39,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: 638DA143A1B54A9B8204F78FD79F47A6 Ref B: MAA201060513027 Ref C: 2025-03-09T21:32:23Z' + - 'Ref A: FC974CAACB0E49DE92F27DE063B43929 Ref B: MAA201060515025 Ref C: 2025-03-09T21:52:55Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-delete @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:25 GMT + - Sun, 09 Mar 2025 21:52:57 GMT mise-correlation-id: - - e7e2b688-de29-457a-a6b2-f28e326bac38 + - 4cac5ef5-42d1-4d87-94c9-63c17785acb4 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213224Z-16bc6c9867b562q7hC1SG1b75000000001vg000000003kuw + - 20250309T215256Z-16bc6c9867bxt797hC1SG12utn00000001mg0000000052d7 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-delete"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:31:40Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:52:15Z", "state": "Active", "displayName": "Delete Trigger", "description": "Trigger schedule for delete test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Delete + string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Delete Trigger","triggerId":"test-trigger-id-delete","description":"Trigger schedule - for delete test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.326Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.326Z","lastModifiedBy":"hbisht@microsoft.com"}' + for delete test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.679Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.679Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:25 GMT + - Sun, 09 Mar 2025 21:52:57 GMT location: - - https://0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + - https://56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview mise-correlation-id: - - 4fe54c27-5534-46da-891f-d55cb7355957 + - 17ae16b2-27ae-4088-b5c4-c580b5e74ed3 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213225Z-16bc6c9867b562q7hC1SG1b75000000001vg000000003kvp + - 20250309T215257Z-16bc6c9867bxt797hC1SG12utn00000001mg0000000052ee x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,18 +154,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4337Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4337Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.3353111Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.3353111Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '659' + - '665' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:25 GMT + - Sun, 09 Mar 2025 21:52:57 GMT etag: - - '"a0041202-0000-0200-0000-67ce08da0000"' + - '"a004e814-0000-0200-0000-67ce0dae0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 16D41188A6F547A48F719E5BE090A7DC Ref B: MAA201060513053 Ref C: 2025-03-09T21:32:25Z' + - 'Ref A: BEB82D0B5A3E4A1DBF8021EB3FFA2460 Ref B: MAA201060515031 Ref C: 2025-03-09T21:52:57Z' status: code: 200 message: OK @@ -199,7 +199,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: DELETE - uri: https://0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: string: '' @@ -209,13 +209,13 @@ interactions: connection: - keep-alive date: - - Sun, 09 Mar 2025 21:32:27 GMT + - Sun, 09 Mar 2025 21:52:59 GMT mise-correlation-id: - - 00dcfd5d-013c-44d2-8593-57f720089778 + - eff8a74a-f46c-48dc-be7e-e5d27c87279e strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213226Z-16bc6c9867bpbnpmhC1SG1p0kn00000002ag000000003n1m + - 20250309T215258Z-16bc6c9867btgkv4hC1SG1pnx8000000021g000000007sea x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -238,18 +238,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4337Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4337Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.3353111Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.3353111Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '659' + - '665' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:27 GMT + - Sun, 09 Mar 2025 21:52:59 GMT etag: - - '"a0041202-0000-0200-0000-67ce08da0000"' + - '"a004e814-0000-0200-0000-67ce0dae0000"' expires: - '-1' pragma: @@ -263,9 +263,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 9FE06DC5C6C445C8B8ABD9ACCA222F91 Ref B: MAA201060513039 Ref C: 2025-03-09T21:32:27Z' + - 'Ref A: E773CA39103C4FADB9E045736E9A4FC7 Ref B: MAA201060516027 Ref C: 2025-03-09T21:52:59Z' status: code: 200 message: OK @@ -281,7 +281,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://0245372f-6b5e-4ee9-8441-d186e732340a.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: string: '{"value":[]}' @@ -297,13 +297,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:28 GMT + - Sun, 09 Mar 2025 21:53:00 GMT mise-correlation-id: - - 6cdbabbf-e0f5-43fd-9ef2-b59ff541b4ed + - 371955f3-d3b0-4096-a3d8-c0cdd418cf11 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213228Z-16bc6c9867bbrkwghC1SG1yvwc00000001fg00000000bp40 + - 20250309T215259Z-16bc6c9867bpntnchC1SG1n3tn0000000240000000004t7v x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml index 89d786723a1..8e627ae4210 100644 --- a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.8354342Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.8354342Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:24.7102942Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:24.7102942Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:23 GMT + - Sun, 09 Mar 2025 21:52:58 GMT etag: - - '"a0042502-0000-0200-0000-67ce08dc0000"' + - '"a004ee14-0000-0200-0000-67ce0daf0000"' expires: - '-1' pragma: @@ -39,9 +39,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16497' x-msedge-ref: - - 'Ref A: 13D86E21E1B849E7961F72E9B0E2F346 Ref B: MAA201060515035 Ref C: 2025-03-09T21:32:23Z' + - 'Ref A: 3D6349D1DF3A473C9F6E48E63BFFF1F4 Ref B: MAA201060515025 Ref C: 2025-03-09T21:52:58Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-enable @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:25 GMT + - Sun, 09 Mar 2025 21:53:00 GMT mise-correlation-id: - - d823948b-17aa-4f65-939a-ffa8095243e0 + - 919a66a3-e5ab-409e-8584-6156a7cd0140 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213224Z-16bc6c9867bndw6zhC1SG1arb000000001yg00000000c11q + - 20250309T215259Z-16bc6c9867bwklg4hC1SG166x00000000290000000008kgc x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-enable"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:31:40Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:52:15Z", "state": "Active", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.204Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.204Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T21:53:00.206Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:00.206Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:25 GMT + - Sun, 09 Mar 2025 21:53:00 GMT location: - - https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + - https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview mise-correlation-id: - - 094f9a3a-998a-4faa-954c-5fc798567e71 + - 4e1fc571-5aca-4da5-b414-92df99d6c78e strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213225Z-16bc6c9867bndw6zhC1SG1arb000000001yg00000000c13c + - 20250309T215300Z-16bc6c9867bwklg4hC1SG166x00000000290000000008kma x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.8354342Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.8354342Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:24.7102942Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:24.7102942Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:25 GMT + - Sun, 09 Mar 2025 21:53:00 GMT etag: - - '"a0042502-0000-0200-0000-67ce08dc0000"' + - '"a004ee14-0000-0200-0000-67ce0daf0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 1D5D0277394849D782F862A5DBD4C9BC Ref B: MAA201060515031 Ref C: 2025-03-09T21:32:25Z' + - 'Ref A: E848AE764D674A7E989DD7CE5844062C Ref B: MAA201060513039 Ref C: 2025-03-09T21:53:00Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.204Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.204Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T21:53:00.206Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:00.206Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:27 GMT + - Sun, 09 Mar 2025 21:53:01 GMT mise-correlation-id: - - ef0b43e0-3c09-4b7a-96fb-399d7c518c10 + - 0e81d9a9-18a0-4c6f-a3ab-42bdd97d3064 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213226Z-16bc6c9867bljt59hC1SG1cz54000000020g000000006erd + - 20250309T215301Z-16bc6c9867bbrkwghC1SG1yvwc00000001rg000000000u00 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -230,7 +230,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T21:31:40Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T21:52:15Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case", "state": "Paused"}' @@ -248,12 +248,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Paused","createdDateTime":"2025-03-09T21:32:25.204Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:27.434Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Paused","createdDateTime":"2025-03-09T21:53:00.206Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:01.902Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -266,13 +266,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:27 GMT + - Sun, 09 Mar 2025 21:53:02 GMT mise-correlation-id: - - dddd1810-2c99-46c6-8fed-83f40d0d4019 + - 4c18ce30-cb0b-4504-8b83-b0e949553bc9 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213227Z-16bc6c9867bljt59hC1SG1cz54000000020g000000006es6 + - 20250309T215301Z-16bc6c9867bbrkwghC1SG1yvwc00000001rg000000000u27 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -295,7 +295,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.8354342Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.8354342Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:24.7102942Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:24.7102942Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -304,9 +304,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:27 GMT + - Sun, 09 Mar 2025 21:53:02 GMT etag: - - '"a0042502-0000-0200-0000-67ce08dc0000"' + - '"a004ee14-0000-0200-0000-67ce0daf0000"' expires: - '-1' pragma: @@ -322,7 +322,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: B87EE329D06A429BBA855747D42D057F Ref B: MAA201060513037 Ref C: 2025-03-09T21:32:27Z' + - 'Ref A: 33A6225545D44E9A947A7F784882D8F2 Ref B: MAA201060513049 Ref C: 2025-03-09T21:53:02Z' status: code: 200 message: OK @@ -338,12 +338,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Paused","createdDateTime":"2025-03-09T21:32:25.204Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:27.434Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Paused","createdDateTime":"2025-03-09T21:53:00.206Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:01.902Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -356,13 +356,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:29 GMT + - Sun, 09 Mar 2025 21:53:03 GMT mise-correlation-id: - - 06b2a907-cc50-42af-a253-3a4c4d2c843d + - 1aa1c587-cec9-4e4e-a847-d64871b5701e strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213228Z-16bc6c9867bljt59hC1SG1cz5400000001y000000000b50q + - 20250309T215303Z-16bc6c9867btgkv4hC1SG1pnx8000000026000000000016k x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -371,7 +371,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T21:31:40Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T21:52:15Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case", "state": "Active"}' @@ -389,12 +389,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.204Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:29.249Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T21:53:00.206Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:04.086Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -407,13 +407,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:29 GMT + - Sun, 09 Mar 2025 21:53:04 GMT mise-correlation-id: - - 8e20eaed-5796-4049-88f0-7e4eb385d1ca + - c6aface0-6e36-4a3d-aa79-4a00ca1756c9 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213229Z-16bc6c9867bljt59hC1SG1cz5400000001y000000000b52p + - 20250309T215303Z-16bc6c9867btgkv4hC1SG1pnx80000000260000000000174 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -436,7 +436,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.8354342Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.8354342Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:24.7102942Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:24.7102942Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -445,9 +445,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:29 GMT + - Sun, 09 Mar 2025 21:53:04 GMT etag: - - '"a0042502-0000-0200-0000-67ce08dc0000"' + - '"a004ee14-0000-0200-0000-67ce0daf0000"' expires: - '-1' pragma: @@ -463,7 +463,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: A86789A38D9B4EF8939F6160B278CAF3 Ref B: MAA201060513019 Ref C: 2025-03-09T21:32:29Z' + - 'Ref A: 8499394B73A24F098E13A2B0944175A4 Ref B: MAA201060513025 Ref C: 2025-03-09T21:53:04Z' status: code: 200 message: OK @@ -479,12 +479,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://3d19da50-5020-48ea-a250-6cf0aaa4018f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.204Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:29.249Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-09T21:53:00.206Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:04.086Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -497,13 +497,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:31 GMT + - Sun, 09 Mar 2025 21:53:06 GMT mise-correlation-id: - - 30e4878b-1232-41a9-94f4-9cdb7b4489d2 + - a32daf97-9c67-45cd-b323-947f34b880b3 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213230Z-16bc6c9867bgcvffhC1SG1uu3n00000001s0000000008ha4 + - 20250309T215305Z-16bc6c9867btgkv4hC1SG1pnx8000000023g0000000049aq x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml index 07c8fd74fb8..f6f88ecb5a8 100644 --- a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml @@ -14,18 +14,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.3400409Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.3400409Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"a2dc2c30-7475-4ba0-a46a-f423cb01baa0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.373868Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.373868Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"4214daa0-d6f3-4fe8-b1f2-59da19341ee7.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '665' + - '663' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:23 GMT + - Sun, 09 Mar 2025 21:52:56 GMT etag: - - '"a0041f02-0000-0200-0000-67ce08dc0000"' + - '"a004e514-0000-0200-0000-67ce0dae0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 9BC5F3550A734F859E4A288F81B91779 Ref B: MAA201060514021 Ref C: 2025-03-09T21:32:22Z' + - 'Ref A: 01DADF69F5AF429A9DB44DC1624DF8DD Ref B: MAA201060514021 Ref C: 2025-03-09T21:52:55Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://a2dc2c30-7475-4ba0-a46a-f423cb01baa0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + uri: https://4214daa0-d6f3-4fe8-b1f2-59da19341ee7.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-list @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:25 GMT + - Sun, 09 Mar 2025 21:52:57 GMT mise-correlation-id: - - f9900f89-ae9b-4f5f-844c-ecdc1cdc4a44 + - f80d9dfe-4ed6-42d5-bdfe-82f5b35e1e74 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213224Z-16bc6c9867bxt797hC1SG12utn00000001mg000000002m97 + - 20250309T215256Z-16bc6c9867bfx5n4hC1SG10fvg00000001s000000000d1g3 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-list"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:31:40Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:52:15Z", "state": "Active", "displayName": "List Trigger", "description": "Trigger schedule for list test case"}' headers: @@ -107,31 +107,31 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://a2dc2c30-7475-4ba0-a46a-f423cb01baa0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + uri: https://4214daa0-d6f3-4fe8-b1f2-59da19341ee7.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"List Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule - for list test case","state":"Active","createdDateTime":"2025-03-09T21:32:26.33Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:26.33Z","lastModifiedBy":"hbisht@microsoft.com"}' + for list test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.771Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.771Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '517' + - '519' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:26 GMT + - Sun, 09 Mar 2025 21:52:57 GMT location: - - https://a2dc2c30-7475-4ba0-a46a-f423cb01baa0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + - https://4214daa0-d6f3-4fe8-b1f2-59da19341ee7.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview mise-correlation-id: - - 5bd3cbf4-43d5-4eaa-8990-449885cdfaa4 + - dc3c1471-ceae-4396-8ba2-ffd0e7f06170 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213225Z-16bc6c9867bxt797hC1SG12utn00000001mg000000002mcn + - 20250309T215257Z-16bc6c9867bfx5n4hC1SG10fvg00000001s000000000d1gz x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,18 +154,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.3400409Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.3400409Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"a2dc2c30-7475-4ba0-a46a-f423cb01baa0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.373868Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.373868Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"4214daa0-d6f3-4fe8-b1f2-59da19341ee7.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '665' + - '663' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:27 GMT + - Sun, 09 Mar 2025 21:52:58 GMT etag: - - '"a0041f02-0000-0200-0000-67ce08dc0000"' + - '"a004e514-0000-0200-0000-67ce0dae0000"' expires: - '-1' pragma: @@ -179,9 +179,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16497' x-msedge-ref: - - 'Ref A: 34409369132D4876A53949FC2B3E6036 Ref B: MAA201060516027 Ref C: 2025-03-09T21:32:26Z' + - 'Ref A: 00AF3464F8A44902A73DCF34F93D1679 Ref B: MAA201060513053 Ref C: 2025-03-09T21:52:58Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://a2dc2c30-7475-4ba0-a46a-f423cb01baa0.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://4214daa0-d6f3-4fe8-b1f2-59da19341ee7.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: - string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"List Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule - for list test case","state":"Active","createdDateTime":"2025-03-09T21:32:26.33Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:26.33Z","lastModifiedBy":"hbisht@microsoft.com"}]}' + for list test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.771Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.771Z","lastModifiedBy":"hbisht@microsoft.com"}]}' headers: accept-ranges: - bytes @@ -211,17 +211,17 @@ interactions: connection: - keep-alive content-length: - - '529' + - '531' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:28 GMT + - Sun, 09 Mar 2025 21:52:59 GMT mise-correlation-id: - - 08b6d83e-7160-4ca9-9b0c-de3613a65fb0 + - 2a270477-b44c-49d5-a661-61a4d16500aa strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213227Z-16bc6c9867btgkv4hC1SG1pnx8000000023g000000001wvr + - 20250309T215258Z-16bc6c9867btmgl7hC1SG1qumc0000000260000000001wky x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml index 5c6690c3620..f0d41b9af8e 100644 --- a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.5308542Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.5308542Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5260404Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5260404Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:23 GMT + - Sun, 09 Mar 2025 21:52:58 GMT etag: - - '"a0041a02-0000-0200-0000-67ce08db0000"' + - '"a004e114-0000-0200-0000-67ce0dae0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: ADD1C781055C45CCAEAF46C9BCD84885 Ref B: MAA201060515025 Ref C: 2025-03-09T21:32:23Z' + - 'Ref A: 8FF45503EFB243118D928567B6E6D12A Ref B: MAA201060513037 Ref C: 2025-03-09T21:52:58Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-pause @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:25 GMT + - Sun, 09 Mar 2025 21:52:59 GMT mise-correlation-id: - - b90495af-4586-44c9-9e9d-140d5d10d4fb + - b372fc67-42b0-4a53-a93f-3c5bae049389 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213224Z-16bc6c9867b2q4x9hC1SG1enhn000000024g000000001cge + - 20250309T215259Z-16bc6c9867btmgl7hC1SG1qumc000000025g000000002zb5 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-pause"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:31:40Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:52:15Z", "state": "Active", "displayName": "Pause Trigger", "description": "Trigger schedule for pause test case"}' headers: @@ -107,31 +107,31 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Active","createdDateTime":"2025-03-09T21:32:26.08Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:26.08Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Active","createdDateTime":"2025-03-09T21:53:00.182Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:00.182Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '521' + - '523' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:26 GMT + - Sun, 09 Mar 2025 21:53:00 GMT location: - - https://fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + - https://c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview mise-correlation-id: - - 2adfceb0-0130-4b6a-8bfd-8cd7dea70f70 + - b8a35c32-e502-4f29-8850-2b70c2600fd3 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213225Z-16bc6c9867b2q4x9hC1SG1enhn000000024g000000001cku + - 20250309T215259Z-16bc6c9867btmgl7hC1SG1qumc000000025g000000002zcd x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.5308542Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.5308542Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5260404Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5260404Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:26 GMT + - Sun, 09 Mar 2025 21:53:01 GMT etag: - - '"a0041a02-0000-0200-0000-67ce08db0000"' + - '"a004e114-0000-0200-0000-67ce0dae0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 2F6C29D1FC00470D9565ED593BCC3A5E Ref B: MAA201060514053 Ref C: 2025-03-09T21:32:26Z' + - 'Ref A: F4C1E03CEF794141AB611A70D50702F6 Ref B: MAA201060516033 Ref C: 2025-03-09T21:53:00Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Active","createdDateTime":"2025-03-09T21:32:26.08Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:26.08Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Active","createdDateTime":"2025-03-09T21:53:00.182Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:00.182Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -211,17 +211,17 @@ interactions: connection: - keep-alive content-length: - - '521' + - '523' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:28 GMT + - Sun, 09 Mar 2025 21:53:02 GMT mise-correlation-id: - - ddb6e54f-7ce8-47cb-97a0-eaa24915cfd9 + - fb56c155-431d-4845-9216-3778b03c4943 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213227Z-16bc6c9867bpntnchC1SG1n3tn0000000240000000002frr + - 20250309T215301Z-16bc6c9867bhn5b6hC1SG115gc00000001k0000000006ycw x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -230,7 +230,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-09T21:31:40Z", + body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-09T21:52:15Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Pause Trigger", "description": "Trigger schedule for pause test case", "state": "Paused"}' @@ -248,12 +248,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Paused","createdDateTime":"2025-03-09T21:32:26.08Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:28.304Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Paused","createdDateTime":"2025-03-09T21:53:00.182Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:02.784Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -262,17 +262,17 @@ interactions: connection: - keep-alive content-length: - - '500' + - '501' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:28 GMT + - Sun, 09 Mar 2025 21:53:03 GMT mise-correlation-id: - - c7c26d12-3c44-4f44-b870-8ede296d2c77 + - 19b07a6c-3df0-49ed-b1a1-3ad6107663de strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213228Z-16bc6c9867bpntnchC1SG1n3tn0000000240000000002ftq + - 20250309T215302Z-16bc6c9867bhn5b6hC1SG115gc00000001k0000000006yku x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -295,7 +295,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.5308542Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.5308542Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5260404Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5260404Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -304,9 +304,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:28 GMT + - Sun, 09 Mar 2025 21:53:04 GMT etag: - - '"a0041a02-0000-0200-0000-67ce08db0000"' + - '"a004e114-0000-0200-0000-67ce0dae0000"' expires: - '-1' pragma: @@ -320,9 +320,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: CB2C00C1F87044FA98C9DFD3CAD1ABAF Ref B: MAA201060514023 Ref C: 2025-03-09T21:32:28Z' + - 'Ref A: A8E6A70DDAD448A7B4B9FCD79C3D92A4 Ref B: MAA201060514045 Ref C: 2025-03-09T21:53:03Z' status: code: 200 message: OK @@ -338,12 +338,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://fd87f52e-6f21-40f1-b6c3-aa5674fe71e9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Paused","createdDateTime":"2025-03-09T21:32:26.08Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:28.304Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Paused","createdDateTime":"2025-03-09T21:53:00.182Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:02.784Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -352,17 +352,17 @@ interactions: connection: - keep-alive content-length: - - '500' + - '501' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:31 GMT + - Sun, 09 Mar 2025 21:53:05 GMT mise-correlation-id: - - 87c2d23d-d5d7-489f-8a7f-171c97cb25f8 + - 1fd5ed44-4c58-4b82-8df1-73f49ce7dcd0 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213229Z-16bc6c9867bhn5b6hC1SG115gc00000001k0000000004cvk + - 20250309T215304Z-16bc6c9867bwklg4hC1SG166x000000002bg000000004b39 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml index d672a05bf0c..99540eda531 100644 --- a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.7423711Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.7423711Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"6fad5be4-ef7a-4213-a517-35056a94c5f6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.4338807Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.4338807Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"26bbff4b-b9f8-49c6-ad24-eff9614ca654.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:23 GMT + - Sun, 09 Mar 2025 21:52:55 GMT etag: - - '"a0042902-0000-0200-0000-67ce08dd0000"' + - '"a004d014-0000-0200-0000-67ce0dac0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 63DCB0E43A8546CCA7093FB289EC647D Ref B: MAA201060516011 Ref C: 2025-03-09T21:32:23Z' + - 'Ref A: 9D57462D6EF24C13B3C95589BE65E081 Ref B: MAA201060514021 Ref C: 2025-03-09T21:52:55Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://6fad5be4-ef7a-4213-a517-35056a94c5f6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://26bbff4b-b9f8-49c6-ad24-eff9614ca654.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-update @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:25 GMT + - Sun, 09 Mar 2025 21:52:56 GMT mise-correlation-id: - - 21f0756b-9bcb-417c-a080-a0a42750541d + - 6695f6cc-ffcc-4d10-8dbe-5bc486166da1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213224Z-16bc6c9867btgkv4hC1SG1pnx8000000021g0000000055wg + - 20250309T215256Z-16bc6c9867bndw6zhC1SG1arb0000000026g000000000brc x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:31:40Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:52:15Z", "state": "Active", "displayName": "Update Trigger", "description": "Trigger schedule for update test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://6fad5be4-ef7a-4213-a517-35056a94c5f6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://26bbff4b-b9f8-49c6-ad24-eff9614ca654.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.532Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.532Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:58.162Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:58.162Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:25 GMT + - Sun, 09 Mar 2025 21:52:58 GMT location: - - https://6fad5be4-ef7a-4213-a517-35056a94c5f6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + - https://26bbff4b-b9f8-49c6-ad24-eff9614ca654.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview mise-correlation-id: - - 63893d7b-66d2-48a3-a780-df4c6600ce5a + - 1ed4a092-9c57-4ada-8051-a236be1b664b strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213225Z-16bc6c9867btgkv4hC1SG1pnx8000000021g0000000055x9 + - 20250309T215256Z-16bc6c9867bndw6zhC1SG1arb0000000026g000000000bsf x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.7423711Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.7423711Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"6fad5be4-ef7a-4213-a517-35056a94c5f6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.4338807Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.4338807Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"26bbff4b-b9f8-49c6-ad24-eff9614ca654.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:26 GMT + - Sun, 09 Mar 2025 21:52:59 GMT etag: - - '"a0042902-0000-0200-0000-67ce08dd0000"' + - '"a004d014-0000-0200-0000-67ce0dac0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: B239EA6A034A434EA5977B20D83988E4 Ref B: MAA201060516033 Ref C: 2025-03-09T21:32:25Z' + - 'Ref A: 82ECD135E3BF4676A2E83AF982AB392A Ref B: MAA201060516033 Ref C: 2025-03-09T21:52:58Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://6fad5be4-ef7a-4213-a517-35056a94c5f6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://26bbff4b-b9f8-49c6-ad24-eff9614ca654.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.532Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.532Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:58.162Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:58.162Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:27 GMT + - Sun, 09 Mar 2025 21:53:00 GMT mise-correlation-id: - - d5cf0be7-a22f-4fa0-a7a9-838ae25bbde7 + - 7383fe3d-3bea-496a-be60-4178cd9735cc strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213226Z-16bc6c9867bgcvffhC1SG1uu3n00000001tg000000005uqa + - 20250309T215259Z-16bc6c9867bgcvffhC1SG1uu3n00000001tg0000000085sh x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -231,9 +231,9 @@ interactions: message: OK - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": - {"frequency": "Weekly", "interval": 2, "daysOfWeek": ["Monday"]}, "startDateTime": - "2025-04-01T00:00:00Z", "displayName": "Updated Test Trigger", "description": - "Updated test trigger schedule"}' + {"frequency": "Weekly", "interval": 1, "daysOfWeek": ["Monday"]}, "startDateTime": + "2025-03-09T21:52:15Z", "displayName": "Update Trigger", "description": "Trigger + schedule for update test case"}' headers: Accept: - application/json @@ -242,18 +242,18 @@ interactions: Connection: - keep-alive Content-Length: - - '271' + - '273' Content-Type: - application/merge-patch+json User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://6fad5be4-ef7a-4213-a517-35056a94c5f6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://26bbff4b-b9f8-49c6-ad24-eff9614ca654.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-04-01T00:00:00Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":2},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-14T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Updated - Test Trigger","triggerId":"test-trigger-id-update","description":"Updated - test trigger schedule","createdDateTime":"2025-03-09T21:32:25.532Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:27.778Z","lastModifiedBy":"hbisht@microsoft.com"}' + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule + for update test case","createdDateTime":"2025-03-09T21:52:58.162Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:00.379Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -262,17 +262,17 @@ interactions: connection: - keep-alive content-length: - - '533' + - '535' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:27 GMT + - Sun, 09 Mar 2025 21:53:00 GMT mise-correlation-id: - - 78ec0813-c0e1-45c5-9f0a-b6790c1660f1 + - 5bc5acc1-76ec-497b-90d7-0e0d99d66182 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213227Z-16bc6c9867bgcvffhC1SG1uu3n00000001tg000000005us5 + - 20250309T215300Z-16bc6c9867bgcvffhC1SG1uu3n00000001tg0000000085tk x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml index 95cfaa500cb..227f7460e4d 100644 --- a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4931843Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4931843Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.0323823Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.0323823Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:23 GMT + - Sun, 09 Mar 2025 21:52:55 GMT etag: - - '"a0042102-0000-0200-0000-67ce08dc0000"' + - '"a004d914-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 6A30DD8298854336AAADA98BA0B6155D Ref B: MAA201060515029 Ref C: 2025-03-09T21:32:23Z' + - 'Ref A: 142B61BEDB1844A2B5553E423BE501E7 Ref B: MAA201060515029 Ref C: 2025-03-09T21:52:55Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: update-invalid-trigger @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:32:25 GMT + - Sun, 09 Mar 2025 21:52:57 GMT mise-correlation-id: - - 72078722-f097-47eb-bb27-9a73495b0bf8 + - d098b0b5-4453-4d2d-aaa0-3df33323fd47 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T213224Z-16bc6c9867bxt797hC1SG12utn00000001ng00000000122q + - 20250309T215256Z-16bc6c9867b562q7hC1SG1b75000000001vg0000000068cc x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:31:40Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:52:15Z", "state": "Active", "displayName": "Update Trigger", "description": "Trigger schedule for update test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.836Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.836Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.205Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.205Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:25 GMT + - Sun, 09 Mar 2025 21:52:57 GMT location: - - https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + - https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview mise-correlation-id: - - 23e5fcf2-3797-4b92-8b6b-ee483b0a5b96 + - 967fc260-d304-4836-a145-332c46194baf strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213225Z-16bc6c9867bxt797hC1SG12utn00000001ng00000000123e + - 20250309T215257Z-16bc6c9867b562q7hC1SG1b75000000001vg0000000068dy x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4931843Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4931843Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.0323823Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.0323823Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:26 GMT + - Sun, 09 Mar 2025 21:52:57 GMT etag: - - '"a0042102-0000-0200-0000-67ce08dc0000"' + - '"a004d914-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 85825D2189DC42999102633C7696185E Ref B: MAA201060514035 Ref C: 2025-03-09T21:32:26Z' + - 'Ref A: 4F7FEEFD588240D1B7191367C60CD112 Ref B: MAA201060516011 Ref C: 2025-03-09T21:52:57Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.836Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.836Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.205Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.205Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:27 GMT + - Sun, 09 Mar 2025 21:52:59 GMT mise-correlation-id: - - e9004e35-de1c-441c-9598-351653ead2bd + - 92ffaff7-5995-47f9-82ab-aa9c0d11ee1c strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213226Z-16bc6c9867btmgl7hC1SG1qumc000000025g000000000ayq + - 20250309T215258Z-16bc6c9867bxt797hC1SG12utn00000001ng000000003hwc x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -244,7 +244,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4931843Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4931843Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.0323823Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.0323823Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -253,9 +253,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:27 GMT + - Sun, 09 Mar 2025 21:52:59 GMT etag: - - '"a0042102-0000-0200-0000-67ce08dc0000"' + - '"a004d914-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -271,7 +271,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: F30E17B0932F474B8C4D3DFB9E597C75 Ref B: MAA201060516017 Ref C: 2025-03-09T21:32:27Z' + - 'Ref A: E310E2D6DDAA44D28BC1EF01A83450BB Ref B: MAA201060514053 Ref C: 2025-03-09T21:52:59Z' status: code: 200 message: OK @@ -287,12 +287,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.836Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.836Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.205Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.205Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -305,13 +305,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:28 GMT + - Sun, 09 Mar 2025 21:53:00 GMT mise-correlation-id: - - 1f223b4b-c1b8-46c7-bf45-42710e0efcb8 + - 279151dc-3c22-4a50-b5dc-102b8b5f2e60 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213228Z-16bc6c9867bc9m42hC1SG1edwg000000027g000000008ne3 + - 20250309T215259Z-16bc6c9867bh79t4hC1SG1qqen000000015g000000005nye x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -334,7 +334,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4931843Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4931843Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.0323823Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.0323823Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -343,9 +343,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:29 GMT + - Sun, 09 Mar 2025 21:53:01 GMT etag: - - '"a0042102-0000-0200-0000-67ce08dc0000"' + - '"a004d914-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -361,7 +361,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: A0691E5D76C44DB5906EA35BDE2F4AE3 Ref B: MAA201060515051 Ref C: 2025-03-09T21:32:29Z' + - 'Ref A: BB266EC13B064621A3CCB1EA5D2E83B6 Ref B: MAA201060515045 Ref C: 2025-03-09T21:53:00Z' status: code: 200 message: OK @@ -377,12 +377,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.836Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.836Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.205Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.205Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -395,13 +395,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:30 GMT + - Sun, 09 Mar 2025 21:53:02 GMT mise-correlation-id: - - a023612e-6558-4832-a35c-69adeb4de9a6 + - c50c79d1-3c52-4b88-a53a-fe26cee10f0a strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213230Z-16bc6c9867btgkv4hC1SG1pnx800000001y000000000b6ne + - 20250309T215301Z-16bc6c9867bljt59hC1SG1cz5400000001y000000000dh7y x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -424,7 +424,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4931843Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4931843Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.0323823Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.0323823Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -433,9 +433,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:30 GMT + - Sun, 09 Mar 2025 21:53:02 GMT etag: - - '"a0042102-0000-0200-0000-67ce08dc0000"' + - '"a004d914-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -451,7 +451,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: B5047C3D2209421BADB1ABCEF08531D8 Ref B: MAA201060514031 Ref C: 2025-03-09T21:32:30Z' + - 'Ref A: D2E6CAC2CC8A4BD0A0088E226F770611 Ref B: MAA201060515039 Ref C: 2025-03-09T21:53:02Z' status: code: 200 message: OK @@ -467,12 +467,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.836Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.836Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.205Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.205Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -485,13 +485,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:32 GMT + - Sun, 09 Mar 2025 21:53:05 GMT mise-correlation-id: - - af902fb9-c97b-4421-a3fd-5af21c4ce658 + - 1e41168d-6f03-472b-8621-976b8fd9e80f strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213231Z-16bc6c9867bpbnpmhC1SG1p0kn000000028g000000007dbp + - 20250309T215303Z-16bc6c9867b2q4x9hC1SG1enhn000000025000000000357s x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -514,7 +514,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:31:49.4931843Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:31:49.4931843Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.0323823Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.0323823Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -523,9 +523,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:32 GMT + - Sun, 09 Mar 2025 21:53:06 GMT etag: - - '"a0042102-0000-0200-0000-67ce08dc0000"' + - '"a004d914-0000-0200-0000-67ce0dad0000"' expires: - '-1' pragma: @@ -541,7 +541,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 8AB4EA5A8EF84597A7637453A85D2C57 Ref B: MAA201060515031 Ref C: 2025-03-09T21:32:32Z' + - 'Ref A: 53F54344AA3F44ABBDBD78E2C8E97F4A Ref B: MAA201060516023 Ref C: 2025-03-09T21:53:05Z' status: code: 200 message: OK @@ -557,12 +557,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) method: GET - uri: https://642704cf-00b8-4329-b5c5-1b2178107250.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:31:40Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:31:40Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:32:25.836Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:32:25.836Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.205Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.205Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -575,13 +575,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:32:34 GMT + - Sun, 09 Mar 2025 21:53:07 GMT mise-correlation-id: - - a3affca4-d34c-4c0a-96af-15581a49d180 + - bdd6242c-a474-4c56-8d46-41d26ec98b4a strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T213233Z-16bc6c9867btmgl7hC1SG1qumc0000000250000000001a21 + - 20250309T215306Z-16bc6c9867btmgl7hC1SG1qumc00000002500000000040zs x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/test_load_trigger_schedule.py b/src/load/azext_load/tests/latest/test_load_trigger_schedule.py index 3863e57fd91..f9148a89b54 100644 --- a/src/load/azext_load/tests/latest/test_load_trigger_schedule.py +++ b/src/load/azext_load/tests/latest/test_load_trigger_schedule.py @@ -61,17 +61,18 @@ def create_trigger_schedule(self, trigger_id, description, display_name, start_d self.cmd(' '.join(cmd)) - def verify_trigger_schedule(self, trigger_id, description, display_name, start_date_time, test_ids, recurrence_type=None, recurrence_interval=None, recurrence_week_days=None, recurrence_dates_in_month=None, recurrence_index=None, recurrence_cron_expression=None): + def verify_trigger_schedule(self, trigger_id, description, display_name, test_ids, start_date_time=None, recurrence_type=None, recurrence_interval=None, recurrence_week_days=None, recurrence_dates_in_month=None, recurrence_index=None, recurrence_cron_expression=None): checks = [ JMESPathCheck("description", description), JMESPathCheck("displayName", display_name), - JMESPathCheck("startDateTime", start_date_time), JMESPathCheck("testIds[0]", test_ids), ] if recurrence_type: checks.append(JMESPathCheck("recurrence.frequency", recurrence_type)) if recurrence_interval: checks.append(JMESPathCheck("recurrence.interval", recurrence_interval)) + if start_date_time: + checks.append(JMESPathCheck("startDateTime", start_date_time)) if recurrence_week_days: week_days = recurrence_week_days.split() if recurrence_type == "Weekly": @@ -114,7 +115,6 @@ def test_create_and_verify_trigger_schedules(self, rg, load): trigger_id=LoadTestTriggerConstants.DAILY_TRIGGER_ID, description=LoadTestTriggerConstants.DAILY_DESCRIPTION, display_name=LoadTestTriggerConstants.DAILY_DISPLAY_NAME, - start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, recurrence_type=LoadTestTriggerConstants.DAILY_RECURRENCE_TYPE, recurrence_interval=LoadTestTriggerConstants.DAILY_RECURRENCE_INTERVAL, test_ids=LoadTestTriggerConstants.DAILY_TEST_IDS @@ -135,7 +135,6 @@ def test_create_and_verify_trigger_schedules(self, rg, load): trigger_id=LoadTestTriggerConstants.WEEKLY_TRIGGER_ID, description=LoadTestTriggerConstants.WEEKLY_DESCRIPTION, display_name=LoadTestTriggerConstants.WEEKLY_DISPLAY_NAME, - start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, recurrence_type=LoadTestTriggerConstants.WEEKLY_RECURRENCE_TYPE, recurrence_interval=LoadTestTriggerConstants.WEEKLY_RECURRENCE_INTERVAL, recurrence_week_days=LoadTestTriggerConstants.WEEKLY_RECURRENCE_DAYS, @@ -157,7 +156,6 @@ def test_create_and_verify_trigger_schedules(self, rg, load): trigger_id=LoadTestTriggerConstants.MONTHLY_DATES_TRIGGER_ID, description=LoadTestTriggerConstants.MONTHLY_DATES_DESCRIPTION, display_name=LoadTestTriggerConstants.MONTHLY_DATES_DISPLAY_NAME, - start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, recurrence_type=LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_TYPE, recurrence_interval=LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_INTERVAL, recurrence_dates_in_month=LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_DATES_IN_MONTH, @@ -180,7 +178,6 @@ def test_create_and_verify_trigger_schedules(self, rg, load): trigger_id=LoadTestTriggerConstants.MONTHLY_DAYS_TRIGGER_ID, description=LoadTestTriggerConstants.MONTHLY_DAYS_DESCRIPTION, display_name=LoadTestTriggerConstants.MONTHLY_DAYS_DISPLAY_NAME, - start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, recurrence_type=LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_TYPE, recurrence_interval=LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_INTERVAL, recurrence_week_days=LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_WEEK_DAYS, @@ -202,7 +199,6 @@ def test_create_and_verify_trigger_schedules(self, rg, load): trigger_id=LoadTestTriggerConstants.CRON_TRIGGER_ID, description=LoadTestTriggerConstants.CRON_DESCRIPTION, display_name=LoadTestTriggerConstants.CRON_DISPLAY_NAME, - start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, recurrence_type=LoadTestTriggerConstants.CRON_RECURRENCE_TYPE, recurrence_cron_expression=LoadTestTriggerConstants.CRON_RECURRENCE_CRON_EXPRESSION, test_ids=LoadTestTriggerConstants.CRON_TEST_IDS @@ -223,19 +219,18 @@ def test_update_trigger_schedule(self, rg, load): self.kwargs.update({ "trigger_id": LoadTestTriggerConstants.UPDATE_TRIGGER_ID, - "description": "Updated test trigger schedule", - "display_name": "Updated Test Trigger", - "start_date_time": "2025-04-01T00:00:00Z", - "recurrence_type": "Weekly", - "recurrence_interval": 2, - "recurrence_week_days": "Monday", + "description": LoadTestTriggerConstants.UPDATE_DESCRIPTION, + "display_name": LoadTestTriggerConstants.UPDATE_DISPLAY_NAME, + "start_date_time": LoadTestTriggerConstants.CURRENT_DATE_TIME, + "recurrence_type": LoadTestTriggerConstants.WEEKLY_RECURRENCE_TYPE, + "recurrence_interval": LoadTestTriggerConstants.WEEKLY_RECURRENCE_INTERVAL, + "recurrence_week_days": LoadTestTriggerConstants.WEEKLY_RECURRENCE_DAYS, "test_ids": LoadTestTriggerConstants.UPDATE_TEST_IDS }) checks = [ JMESPathCheck("description", self.kwargs["description"]), JMESPathCheck("displayName", self.kwargs["display_name"]), - JMESPathCheck("startDateTime", self.kwargs["start_date_time"]), JMESPathCheck("recurrence.frequency", self.kwargs["recurrence_type"]), JMESPathCheck("recurrence.interval", self.kwargs["recurrence_interval"]), JMESPathCheck("recurrence.daysOfWeek[0]", self.kwargs["recurrence_week_days"]), @@ -273,7 +268,6 @@ def test_list_trigger_schedules(self, rg, load): self.kwargs.update({ "description": LoadTestTriggerConstants.LIST_DESCRIPTION, "display_name": LoadTestTriggerConstants.LIST_DISPLAY_NAME, - "start_date_time": LoadTestTriggerConstants.CURRENT_DATE_TIME, "recurrence_type": LoadTestTriggerConstants.DAILY_RECURRENCE_TYPE, "recurrence_interval": LoadTestTriggerConstants.RECURRENCE_INTERVAL_ONE, "test_ids": LoadTestTriggerConstants.LIST_TEST_IDS @@ -283,7 +277,6 @@ def test_list_trigger_schedules(self, rg, load): JMESPathCheck("length(@)", 1), JMESPathCheck("[0].description", self.kwargs["description"]), JMESPathCheck("[0].displayName", self.kwargs["display_name"]), - JMESPathCheck("[0].startDateTime", self.kwargs["start_date_time"]), JMESPathCheck("[0].recurrence.frequency", self.kwargs["recurrence_type"]), JMESPathCheck("[0].recurrence.interval", self.kwargs["recurrence_interval"]), JMESPathCheck("[0].testIds[0]", self.kwargs["test_ids"]), From 0335744236701119104a4ec21816e86eb88c8fb5 Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Sun, 9 Mar 2025 22:00:27 +0000 Subject: [PATCH 11/16] nit --- src/load/azext_load/data_plane/load_trigger/custom.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/load/azext_load/data_plane/load_trigger/custom.py b/src/load/azext_load/data_plane/load_trigger/custom.py index 251a13a5d2e..dd7cf3da4a5 100644 --- a/src/load/azext_load/data_plane/load_trigger/custom.py +++ b/src/load/azext_load/data_plane/load_trigger/custom.py @@ -70,8 +70,8 @@ def create_trigger_schedule( logger.debug("Created trigger schedule: %s", response) logger.info("Creating trigger schedule completed") return response - except Exception as e: - logger.error("Error occurred while creating trigger schedule: %s", str(e)) + except Exception: + logger.error("Error occurred while creating schedule trigger.") raise @@ -134,8 +134,8 @@ def update_trigger_schedule( logger.debug("Updated schedule trigger: %s", response) logger.info("Updating schedule trigger completed") return response - except Exception as e: - logger.error("Error occurred while updating schedule trigger: %s", str(e)) + except Exception: + logger.error("Error occurred while updating schedule trigger.") raise From 8b09a936e80157fd7a85dc0e9ac874866fe90bab Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Mon, 10 Mar 2025 05:24:51 +0000 Subject: [PATCH 12/16] Updating version --- src/load/HISTORY.rst | 3 +++ src/load/setup.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/load/HISTORY.rst b/src/load/HISTORY.rst index 5f0327e4134..6a849ac3a6b 100644 --- a/src/load/HISTORY.rst +++ b/src/load/HISTORY.rst @@ -2,6 +2,9 @@ Release History =============== +1.7.0 +++++++ +* Add commands for creating and managing schedule triggers using CLI. 1.6.0 diff --git a/src/load/setup.py b/src/load/setup.py index 2af62229917..6990380ce27 100644 --- a/src/load/setup.py +++ b/src/load/setup.py @@ -10,7 +10,7 @@ # HISTORY.rst entry. -VERSION = '1.6.0' +VERSION = '1.7.0' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From 0d9e192e2e165dcebf9b1c7380406a1f185af23f Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Mon, 10 Mar 2025 07:08:47 +0000 Subject: [PATCH 13/16] nit --- .../azext_load/data_plane/load_trigger/custom.py | 14 ++++++++++---- src/load/azext_load/data_plane/utils/argtypes.py | 7 ------- src/load/azext_load/data_plane/utils/models.py | 5 ----- 3 files changed, 10 insertions(+), 16 deletions(-) diff --git a/src/load/azext_load/data_plane/load_trigger/custom.py b/src/load/azext_load/data_plane/load_trigger/custom.py index dd7cf3da4a5..66bc87f30be 100644 --- a/src/load/azext_load/data_plane/load_trigger/custom.py +++ b/src/load/azext_load/data_plane/load_trigger/custom.py @@ -4,7 +4,7 @@ # -------------------------------------------------------------------------------------------- from azure.core.exceptions import ResourceNotFoundError -from azure.cli.core.azclierror import InvalidArgumentValueError +from azure.cli.core.azclierror import InvalidArgumentValueError, ValidationError from knack.log import get_logger from azext_load.data_plane.utils.utils import ( get_admin_data_plane_client) @@ -191,7 +191,11 @@ def pause_trigger_schedule( response = client.create_or_update_trigger(trigger_id=trigger_id, body=existing_trigger_schedule) logger.debug("Paused schedule trigger: %s", response) return response - logger.error("Schedule trigger is not active. It is in %s state.", existing_trigger_schedule.state.value) + if existing_trigger_schedule.state == enums.TriggerState.COMPLETED: + msg = "Schedule trigger with id: {} is already completed.".format(trigger_id) + logger.error(msg) + raise ValidationError(msg) + logger.warning("Schedule trigger is not active. It is in %s state.", existing_trigger_schedule.state.value) def enable_trigger_schedule( @@ -212,12 +216,14 @@ def enable_trigger_schedule( logger.debug(msg) raise InvalidArgumentValueError(msg) logger.debug("Existing trigger object: %s", existing_trigger_schedule) - if existing_trigger_schedule.state in [enums.TriggerState.PAUSED, enums.TriggerState.DISABLED]: + if existing_trigger_schedule.state != enums.TriggerState.COMPLETED: existing_trigger_schedule.state = enums.TriggerState.ACTIVE response = client.create_or_update_trigger(trigger_id=trigger_id, body=existing_trigger_schedule) logger.debug("Enabled schedule trigger: %s", response) return response - logger.error("Schedule trigger is in %s state, hence cannot be enabled.", existing_trigger_schedule.state.value) + msg = "Schedule trigger with id: {} is already completed. Cannot enable a completed schedule.".format(trigger_id) + logger.debug(msg) + raise ValidationError(msg) def list_trigger_schedules( diff --git a/src/load/azext_load/data_plane/utils/argtypes.py b/src/load/azext_load/data_plane/utils/argtypes.py index fc87a3c7f0d..9c358f8ebc7 100644 --- a/src/load/azext_load/data_plane/utils/argtypes.py +++ b/src/load/azext_load/data_plane/utils/argtypes.py @@ -457,13 +457,6 @@ help="Test IDs of the load tests to be triggered by schedule. Currently we only support one test ID per schedule.", ) -state = CLIArgumentType( - options_list=["--state"], - choices=utils.get_enum_values(models.AllowedTriggerStates), - type=str, - help="State of the load trigger schedule", -) - trigger_display_name = CLIArgumentType( options_list=["--display-name"], type=str, diff --git a/src/load/azext_load/data_plane/utils/models.py b/src/load/azext_load/data_plane/utils/models.py index 4b6f055f912..60082d2e655 100644 --- a/src/load/azext_load/data_plane/utils/models.py +++ b/src/load/azext_load/data_plane/utils/models.py @@ -64,8 +64,3 @@ class AllowedTrendsResponseTimeAggregations(str, Enum): P99 = "P99" P999 = "P999" P9999 = "P9999" - - -class AllowedTriggerStates(str, Enum): - ACTIVE = "ACTIVE" - PAUSED = "PAUSED" From 36f3fad9eeb403e0b471fd0a604c9fcaaf6c5aed Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Tue, 18 Mar 2025 22:19:18 +0000 Subject: [PATCH 14/16] Addressing PR comments and issues after bug bash --- .../data_plane/load_trigger/custom.py | 36 +- .../data_plane/load_trigger/utils.py | 58 +--- .../azext_load/data_plane/utils/argtypes.py | 2 +- .../azext_load/data_plane/utils/validators.py | 51 ++- ...t_create_and_verify_trigger_schedules.yaml | 318 +++++++++--------- ...create_trigger_schedule_invalid_cases.yaml | 112 +++--- .../test_delete_trigger_schedule.yaml | 80 ++--- .../test_enable_trigger_schedule.yaml | 146 ++++---- .../test_list_trigger_schedules.yaml | 68 ++-- .../test_pause_trigger_schedule.yaml | 102 +++--- .../test_update_trigger_schedule.yaml | 86 ++--- ...update_trigger_schedule_invalid_cases.yaml | 162 ++++----- .../latest/test_load_trigger_schedule.py | 58 +++- 13 files changed, 646 insertions(+), 633 deletions(-) diff --git a/src/load/azext_load/data_plane/load_trigger/custom.py b/src/load/azext_load/data_plane/load_trigger/custom.py index 66bc87f30be..85daf4a9378 100644 --- a/src/load/azext_load/data_plane/load_trigger/custom.py +++ b/src/load/azext_load/data_plane/load_trigger/custom.py @@ -69,7 +69,7 @@ def create_trigger_schedule( response = client.create_or_update_trigger(trigger_id=trigger_id, body=trigger_body) logger.debug("Created trigger schedule: %s", response) logger.info("Creating trigger schedule completed") - return response + return response.as_dict() except Exception: logger.error("Error occurred while creating schedule trigger.") raise @@ -120,20 +120,20 @@ def update_trigger_schedule( existing_trigger_schedule.recurrence ) logger.debug("Recurrence object: %s", recurrence_body) - new_trigger_body = utils.get_schedule_trigger_body_for_update( - existing_trigger_schedule, - recurrence_body, - display_name, - description, - trigger_start_date_time, - test_ids, + new_trigger_body = models.ScheduleTestsTrigger( + test_ids=test_ids, + recurrence=recurrence_body, + start_date_time=trigger_start_date_time, + display_name=display_name, + description=description, ) + new_trigger_body.state = existing_trigger_schedule.state logger.debug("Schedule trigger body to be sent for update: %s", new_trigger_body) try: response = client.create_or_update_trigger(trigger_id=trigger_id, body=new_trigger_body) logger.debug("Updated schedule trigger: %s", response) logger.info("Updating schedule trigger completed") - return response + return response.as_dict() except Exception: logger.error("Error occurred while updating schedule trigger.") raise @@ -165,7 +165,7 @@ def get_trigger_schedule( client = get_admin_data_plane_client(cmd, load_test_resource, resource_group_name) response = client.get_trigger(trigger_id) logger.debug("Fetched schedule trigger: %s", response) - return response + return response.as_dict() def pause_trigger_schedule( @@ -190,12 +190,12 @@ def pause_trigger_schedule( existing_trigger_schedule.state = enums.TriggerState.PAUSED response = client.create_or_update_trigger(trigger_id=trigger_id, body=existing_trigger_schedule) logger.debug("Paused schedule trigger: %s", response) - return response + return response.as_dict() if existing_trigger_schedule.state == enums.TriggerState.COMPLETED: - msg = "Schedule trigger with id: {} is already completed.".format(trigger_id) + msg = "Schedule trigger with id: {} is already completed. A completed schedule cannot be paused.".format(trigger_id) logger.error(msg) raise ValidationError(msg) - logger.warning("Schedule trigger is not active. It is in %s state.", existing_trigger_schedule.state.value) + logger.warning("Schedule trigger is not active. It is in %s state. Enable the schedule before performing pause action.", existing_trigger_schedule.state.value) def enable_trigger_schedule( @@ -220,8 +220,8 @@ def enable_trigger_schedule( existing_trigger_schedule.state = enums.TriggerState.ACTIVE response = client.create_or_update_trigger(trigger_id=trigger_id, body=existing_trigger_schedule) logger.debug("Enabled schedule trigger: %s", response) - return response - msg = "Schedule trigger with id: {} is already completed. Cannot enable a completed schedule.".format(trigger_id) + return response.as_dict() + msg = "Schedule trigger with id: {} is already completed. A completed schedule cannot be enabled.".format(trigger_id) logger.debug(msg) raise ValidationError(msg) @@ -240,6 +240,6 @@ def list_trigger_schedules( if test_ids: test_ids = ",".join(test_ids) logger.info("Schedule trigger states: %s", trigger_states) - response = client.list_trigger(test_ids=test_ids, states=trigger_states) - logger.debug("Fetched list of schedule triggers: %s", response) - return response + response_list = client.list_trigger(test_ids=test_ids, states=trigger_states) + logger.debug("Fetched list of schedule triggers: %s", response_list) + return [response.as_dict() for response in response_list] diff --git a/src/load/azext_load/data_plane/load_trigger/utils.py b/src/load/azext_load/data_plane/load_trigger/utils.py index f08743a7480..f4dea80c7c2 100644 --- a/src/load/azext_load/data_plane/load_trigger/utils.py +++ b/src/load/azext_load/data_plane/load_trigger/utils.py @@ -36,7 +36,7 @@ def get_recurrence_end_body(end_after_occurrence, end_after_date_time, existing_ return existing_recurrence_end -def handle_daily_recurrence(recurrence_interval, recurrence_end_body, **kwargs): +def _handle_daily_recurrence(recurrence_interval, recurrence_end_body, **kwargs): if recurrence_interval is None: raise InvalidArgumentValueError("Recurrence interval is required for daily recurrence.") if any(kwargs.values()): @@ -47,7 +47,7 @@ def handle_daily_recurrence(recurrence_interval, recurrence_end_body, **kwargs): ) -def handle_weekly_recurrence(recurrence_interval, recurrence_week_days, recurrence_end_body, **kwargs): +def _handle_weekly_recurrence(recurrence_interval, recurrence_week_days, recurrence_end_body, **kwargs): if recurrence_interval is None: raise InvalidArgumentValueError("Recurrence interval is required for weekly recurrence.") if recurrence_week_days is None or len(recurrence_week_days) == 0: @@ -61,7 +61,7 @@ def handle_weekly_recurrence(recurrence_interval, recurrence_week_days, recurren ) -def handle_hourly_recurrence(recurrence_interval, recurrence_end_body, **kwargs): +def _handle_hourly_recurrence(recurrence_interval, recurrence_end_body, **kwargs): if recurrence_interval is None: raise InvalidArgumentValueError("Recurrence interval is required for hourly recurrence.") if any(kwargs.values()): @@ -72,7 +72,7 @@ def handle_hourly_recurrence(recurrence_interval, recurrence_end_body, **kwargs) ) -def handle_monthly_by_dates_recurrence(recurrence_interval, recurrence_dates_in_month, recurrence_end_body, **kwargs): +def _handle_monthly_by_dates_recurrence(recurrence_interval, recurrence_dates_in_month, recurrence_end_body, **kwargs): if recurrence_interval is None: raise InvalidArgumentValueError("Recurrence interval is required for monthly by dates recurrence.") if recurrence_dates_in_month is None or len(recurrence_dates_in_month) == 0: @@ -86,7 +86,7 @@ def handle_monthly_by_dates_recurrence(recurrence_interval, recurrence_dates_in_ ) -def handle_monthly_by_days_recurrence(recurrence_interval, recurrence_week_days, recurrence_index, recurrence_end_body, **kwargs): +def _handle_monthly_by_days_recurrence(recurrence_interval, recurrence_week_days, recurrence_index, recurrence_end_body, **kwargs): if recurrence_interval is None: raise InvalidArgumentValueError("Recurrence interval is required for monthly by days recurrence.") if recurrence_week_days is None or len(recurrence_week_days) == 0: @@ -103,7 +103,7 @@ def handle_monthly_by_days_recurrence(recurrence_interval, recurrence_week_days, ) -def handle_cron_recurrence(recurrence_cron_expression, recurrence_end_body, **kwargs): +def _handle_cron_recurrence(recurrence_cron_expression, recurrence_end_body, **kwargs): if recurrence_cron_expression is None: raise InvalidArgumentValueError("Recurrence cron expression is required for cron recurrence.") if any(kwargs.values()): @@ -115,12 +115,12 @@ def handle_cron_recurrence(recurrence_cron_expression, recurrence_end_body, **kw recurrence_handlers = { - enums.Frequency.DAILY: handle_daily_recurrence, - enums.Frequency.WEEKLY: handle_weekly_recurrence, - enums.Frequency.HOURLY: handle_hourly_recurrence, - enums.Frequency.MONTHLY_BY_DATES: handle_monthly_by_dates_recurrence, - enums.Frequency.MONTHLY_BY_DAYS: handle_monthly_by_days_recurrence, - enums.Frequency.CRON: handle_cron_recurrence, + enums.Frequency.DAILY: _handle_daily_recurrence, + enums.Frequency.WEEKLY: _handle_weekly_recurrence, + enums.Frequency.HOURLY: _handle_hourly_recurrence, + enums.Frequency.MONTHLY_BY_DATES: _handle_monthly_by_dates_recurrence, + enums.Frequency.MONTHLY_BY_DAYS: _handle_monthly_by_days_recurrence, + enums.Frequency.CRON: _handle_cron_recurrence, } @@ -195,37 +195,3 @@ def get_recurrence_body_for_update( recurrence_week_days, recurrence_end_body ) - - -def get_schedule_trigger_body_for_update( - existing_trigger_schedule, - recurrence_body, - display_name, - description, - trigger_start_date_time, - test_ids, -): - new_trigger_body = models.ScheduleTestsTrigger( - test_ids=test_ids, - recurrence=recurrence_body, - start_date_time=trigger_start_date_time, - display_name=display_name, - description=description, - ) - - if test_ids is None: - new_trigger_body.test_ids = existing_trigger_schedule.test_ids - - if trigger_start_date_time is None: - new_trigger_body.start_date_time = existing_trigger_schedule.start_date_time - - if display_name is None: - new_trigger_body.display_name = existing_trigger_schedule.display_name - - if description is None: - new_trigger_body.description = existing_trigger_schedule.description - - if recurrence_body is None: - new_trigger_body.recurrence = existing_trigger_schedule.recurrence - - return new_trigger_body diff --git a/src/load/azext_load/data_plane/utils/argtypes.py b/src/load/azext_load/data_plane/utils/argtypes.py index 9c358f8ebc7..a22b0d0959a 100644 --- a/src/load/azext_load/data_plane/utils/argtypes.py +++ b/src/load/azext_load/data_plane/utils/argtypes.py @@ -482,7 +482,7 @@ ) recurrence_dates_in_month = CLIArgumentType( - options_list=["--recurrence-dates-in-month"], + options_list=["--recurrence-dates"], nargs="+", type=int, validator=validators.validate_recurrence_dates_in_month, diff --git a/src/load/azext_load/data_plane/utils/validators.py b/src/load/azext_load/data_plane/utils/validators.py index 6be40dc1031..d41ebfe54dc 100644 --- a/src/load/azext_load/data_plane/utils/validators.py +++ b/src/load/azext_load/data_plane/utils/validators.py @@ -26,28 +26,27 @@ logger = get_logger(__name__) +def _validate_id(namespace, id_name): + """Validates a generic ID""" + id_value = getattr(namespace, id_name, None) + if id_value is None: + raise InvalidArgumentValueError(f"{id_name} is required.") + if not isinstance(id_value, str): + raise InvalidArgumentValueError( + f"Invalid {id_name} type: {type(id_value)}. Expected a string." + ) + if not re.match("^[a-z0-9_-]*$", id_value): + raise InvalidArgumentValueError(f"Invalid {id_name} value.") + def validate_test_id(namespace): """Validates test-id""" - if not isinstance(namespace.test_id, str): - raise InvalidArgumentValueError( - f"Invalid test-id type: {type(namespace.test_id)}" - ) - if not re.match("^[a-z0-9_-]*$", namespace.test_id): - raise InvalidArgumentValueError("Invalid test-id value") + _validate_id(namespace, "test_id") def validate_test_run_id(namespace): """Validates test-run-id""" - if namespace.test_run_id is None: - namespace.test_run_id = utils.get_random_uuid() - if not isinstance(namespace.test_run_id, str): - raise InvalidArgumentValueError( - f"Invalid test-run-id type: {type(namespace.test_run_id)}" - ) - if not re.match("^[a-z0-9_-]*$", namespace.test_run_id): - raise InvalidArgumentValueError("Invalid test-run-id value") - + _validate_id(namespace, "test_run_id") def _validate_akv_url(string, url_type="secrets|certificates|keys|storage"): """Validates Azure Key Vault URL""" @@ -552,12 +551,7 @@ def validate_engine_ref_ids_and_type(incoming_engine_ref_id_type, engine_ref_ids def validate_trigger_id(namespace): """Validates trigger-id""" - if not isinstance(namespace.trigger_id, str): - raise InvalidArgumentValueError( - f"Invalid trigger-id type: {type(namespace.trigger_id)}" - ) - if not re.match("^[a-z0-9_-]*$", namespace.trigger_id): - raise InvalidArgumentValueError("Invalid trigger-id value") + _validate_id(namespace, "trigger_id") def validate_recurrence_dates_in_month(namespace): @@ -565,23 +559,22 @@ def validate_recurrence_dates_in_month(namespace): return if not isinstance(namespace.recurrence_dates_in_month, list): raise InvalidArgumentValueError( - f"Invalid recurrence-dates-in-month type: {type(namespace.recurrence_dates_in_month)}. \ + f"Invalid recurrence-dates type: {type(namespace.recurrence_dates_in_month)}. \ Expected list of integers" ) for item in namespace.recurrence_dates_in_month: if not isinstance(item, int) or item < 1 or item > 31: raise InvalidArgumentValueError( - f"Invalid recurrence-dates-in-month item: {item}. Expected integer between 1 and 31" + f"Invalid recurrence-dates item: {item}. Expected integer between 1 and 31" ) def validate_schedule_test_ids(namespace): if namespace.test_ids is None: return - if isinstance(namespace.test_ids, list) and len(namespace.test_ids) != 1: - raise InvalidArgumentValueError( - f"Invalid test-ids type: {type(namespace.test_ids)}. \ - Expected list of test ids" - ) + if not isinstance(namespace.test_ids, list): + raise InvalidArgumentValueError("Invalid test-ids type: {}. Expected list of test id.".format(type(namespace.test_ids))) + if len(namespace.test_ids) != 1: + raise InvalidArgumentValueError("Currently we only support one test ID per schedule.") if not re.match("^[a-z0-9_-]*$", namespace.test_ids[0]): - raise InvalidArgumentValueError("Invalid test-id value") + raise InvalidArgumentValueError("Invalid test-id value.") diff --git a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml index 928ac6d8e9a..6f65759aab4 100644 --- a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml @@ -9,12 +9,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:57 GMT + - Tue, 18 Mar 2025 22:17:47 GMT etag: - - '"a004d614-0000-0200-0000-67ce0dad0000"' + - '"c800de0d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: D9FF78279A5146C18BD1C7C023C1DBE0 Ref B: MAA201060515035 Ref C: 2025-03-09T21:52:56Z' + - 'Ref A: 203A8642EBF64DD2899E03F421DCA287 Ref B: MAA201060514037 Ref C: 2025-03-18T22:17:47Z' status: code: 200 message: OK @@ -55,9 +55,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-daily @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:52:58 GMT + - Tue, 18 Mar 2025 22:17:49 GMT mise-correlation-id: - - 99d0047e-24cd-4d60-b3f9-fbd729f436e8 + - 405511d6-0827-445b-b88d-c7ad88b14fe9 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215257Z-16bc6c9867b2q4x9hC1SG1enhn000000024g000000003vuh + - 20250318T221748Z-18477bc996cclmt4hC1SG1728c00000002x0000000005erf x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-daily"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:52:15Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-18T22:17:05Z", "state": "Active", "displayName": "Daily Trigger", "description": "Trigger schedule for daily test case"}' headers: @@ -105,14 +105,14 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule - for daily test case","state":"Active","createdDateTime":"2025-03-09T21:52:58.825Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:58.825Z","lastModifiedBy":"hbisht@microsoft.com"}' + for daily test case","state":"Active","createdDateTime":"2025-03-18T22:17:49.389Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:49.389Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:58 GMT + - Tue, 18 Mar 2025 22:17:49 GMT location: - - https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + - https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview mise-correlation-id: - - 97869879-dbcd-4f4b-a329-199c04dfc00d + - 09ab7c60-0aa6-40f1-a4eb-10dce0803527 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215258Z-16bc6c9867b2q4x9hC1SG1enhn000000024g000000003vwe + - 20250318T221749Z-18477bc996cclmt4hC1SG1728c00000002x0000000005etb x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -149,12 +149,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:59 GMT + - Tue, 18 Mar 2025 22:17:50 GMT etag: - - '"a004d614-0000-0200-0000-67ce0dad0000"' + - '"c800de0d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 302717F948A24217BF1D80BD914EDD74 Ref B: MAA201060514035 Ref C: 2025-03-09T21:52:59Z' + - 'Ref A: 3E17C42DD84141ADB939EC485F842B4D Ref B: MAA201060515029 Ref C: 2025-03-18T22:17:49Z' status: code: 200 message: OK @@ -195,14 +195,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule - for daily test case","state":"Active","createdDateTime":"2025-03-09T21:52:58.825Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:58.825Z","lastModifiedBy":"hbisht@microsoft.com"}' + for daily test case","state":"Active","createdDateTime":"2025-03-18T22:17:49.389Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:49.389Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:00 GMT + - Tue, 18 Mar 2025 22:17:51 GMT mise-correlation-id: - - 6869c615-b379-439a-bed3-948fe86588f7 + - f79a6bc0-188d-40ed-8337-6a3af92ee8b2 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215259Z-16bc6c9867bpbnpmhC1SG1p0kn00000002ag000000005tfa + - 20250318T221750Z-18477bc996cwsj7whC1SG1ee1c00000002u000000000aymv x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -239,12 +239,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -253,9 +253,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:00 GMT + - Tue, 18 Mar 2025 22:17:51 GMT etag: - - '"a004d614-0000-0200-0000-67ce0dad0000"' + - '"c800de0d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -271,7 +271,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: D1C6EB8AEEF943C2AC169DA05B885C23 Ref B: MAA201060513037 Ref C: 2025-03-09T21:53:00Z' + - 'Ref A: 63DACB584F034FA99F7F6BA39A66A6DE Ref B: MAA201060513019 Ref C: 2025-03-18T22:17:51Z' status: code: 200 message: OK @@ -285,9 +285,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-weekly @@ -300,15 +300,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:53:01 GMT + - Tue, 18 Mar 2025 22:17:53 GMT mise-correlation-id: - - 94cee0fa-b975-4a7d-b17c-33d67c50b3b0 + - 335e5efa-b034-4e4a-b3e1-f06483d9ac61 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215301Z-16bc6c9867bfx5n4hC1SG10fvg00000001yg000000001t6d + - 20250318T221752Z-18477bc996clttsthC1SG10a4s00000002v0000000009pb6 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -321,7 +321,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-weekly"], "recurrence": {"frequency": "Weekly", "interval": 1, "daysOfWeek": ["Monday"]}, "startDateTime": - "2025-03-09T21:52:15Z", "state": "Active", "displayName": "Weekly Trigger", + "2025-03-18T22:17:05Z", "state": "Active", "displayName": "Weekly Trigger", "description": "Trigger schedule for weekly test case"}' headers: Accept: @@ -335,14 +335,14 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-24T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule - for weekly test case","state":"Active","createdDateTime":"2025-03-09T21:53:02.056Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:02.056Z","lastModifiedBy":"hbisht@microsoft.com"}' + for weekly test case","state":"Active","createdDateTime":"2025-03-18T22:17:53.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:53.287Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -353,15 +353,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:02 GMT + - Tue, 18 Mar 2025 22:17:53 GMT location: - - https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + - https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview mise-correlation-id: - - 5195d4c8-f75e-4d3d-a43e-e696bbc24556 + - 237ad352-2649-4bb0-9cca-d837005ff502 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215301Z-16bc6c9867bfx5n4hC1SG10fvg00000001yg000000001t7w + - 20250318T221753Z-18477bc996clttsthC1SG10a4s00000002v0000000009ph5 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -379,12 +379,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -393,9 +393,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:02 GMT + - Tue, 18 Mar 2025 22:17:53 GMT etag: - - '"a004d614-0000-0200-0000-67ce0dad0000"' + - '"c800de0d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -411,7 +411,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 9FFBB91B600B4DA998100F51DC4ADBE6 Ref B: MAA201060513019 Ref C: 2025-03-09T21:53:02Z' + - 'Ref A: 11AF916292B04389844F5459DE40BF1A Ref B: MAA201060513031 Ref C: 2025-03-18T22:17:53Z' status: code: 200 message: OK @@ -425,14 +425,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-24T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule - for weekly test case","state":"Active","createdDateTime":"2025-03-09T21:53:02.056Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:02.056Z","lastModifiedBy":"hbisht@microsoft.com"}' + for weekly test case","state":"Active","createdDateTime":"2025-03-18T22:17:53.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:53.287Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -445,13 +445,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:03 GMT + - Tue, 18 Mar 2025 22:17:55 GMT mise-correlation-id: - - 0c6028fd-13e2-46e4-83f2-ab30b2cd9f56 + - bb86ff8c-1706-43be-b6a1-0489c7480055 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215302Z-16bc6c9867bc9m42hC1SG1edwg000000027g00000000ba5c + - 20250318T221754Z-18477bc996cclmt4hC1SG1728c00000002wg000000006a60 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -469,12 +469,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -483,9 +483,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:04 GMT + - Tue, 18 Mar 2025 22:17:55 GMT etag: - - '"a004d614-0000-0200-0000-67ce0dad0000"' + - '"c800de0d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -501,7 +501,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 24E63E9A23AC425596F69BD147B6DEAF Ref B: MAA201060516023 Ref C: 2025-03-09T21:53:03Z' + - 'Ref A: E75FA5133ED04C34B9B4BAB4F93F914A Ref B: MAA201060513039 Ref C: 2025-03-18T22:17:55Z' status: code: 200 message: OK @@ -515,9 +515,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-monthly-dates @@ -530,15 +530,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:53:05 GMT + - Tue, 18 Mar 2025 22:17:56 GMT mise-correlation-id: - - c43f1ba7-ffac-4249-82ff-3c3d88dcce5a + - 41c5ecc3-ce9f-4a32-a927-8a976393ffbc strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215304Z-16bc6c9867bpbnpmhC1SG1p0kn000000028g000000009vr6 + - 20250318T221756Z-18477bc996c8hpqzhC1SG179ms00000002tg00000000cvch x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -551,7 +551,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-dates"], "recurrence": {"frequency": "MonthlyByDates", "interval": 1, "datesInMonth": - [1, 15]}, "startDateTime": "2025-03-09T21:52:15Z", "state": "Active", "displayName": + [1, 15]}, "startDateTime": "2025-03-18T22:17:05Z", "state": "Active", "displayName": "Monthly By Dates Trigger", "description": "Trigger schedule for monthly by dates test case"}' headers: @@ -566,14 +566,14 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-01T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger - schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T21:53:05.768Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:05.768Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-18T22:17:56.706Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:56.706Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -584,15 +584,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:05 GMT + - Tue, 18 Mar 2025 22:17:56 GMT location: - - https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + - https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview mise-correlation-id: - - d4ff9fec-3d82-4805-a833-481b01439ed6 + - eaacfeda-7276-4cd4-9eea-62e965388dc8 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215305Z-16bc6c9867bpbnpmhC1SG1p0kn000000028g000000009vs1 + - 20250318T221756Z-18477bc996c8hpqzhC1SG179ms00000002tg00000000cvd2 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -610,12 +610,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -624,9 +624,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:06 GMT + - Tue, 18 Mar 2025 22:17:57 GMT etag: - - '"a004d614-0000-0200-0000-67ce0dad0000"' + - '"c800de0d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -640,9 +640,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: AF13A6442A1D43919B16C021C4FAB7EC Ref B: MAA201060514019 Ref C: 2025-03-09T21:53:06Z' + - 'Ref A: 13093ADB78194286BECB3D157E216931 Ref B: MAA201060516039 Ref C: 2025-03-18T22:17:57Z' status: code: 200 message: OK @@ -656,14 +656,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-15T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-01T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger - schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-09T21:53:05.768Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:05.768Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-18T22:17:56.706Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:56.706Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -676,13 +676,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:07 GMT + - Tue, 18 Mar 2025 22:17:58 GMT mise-correlation-id: - - 43669d68-f020-41d5-a066-d0d91a45aa4d + - 705f1f75-6ce5-423f-b8e9-cc00303abd9e strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215306Z-16bc6c9867bhn5b6hC1SG115gc00000001pg000000000u02 + - 20250318T221757Z-18477bc996cqfz4fhC1SG1ugpc00000002z00000000014n1 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -700,12 +700,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -714,9 +714,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:07 GMT + - Tue, 18 Mar 2025 22:17:58 GMT etag: - - '"a004d614-0000-0200-0000-67ce0dad0000"' + - '"c800de0d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -730,9 +730,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: 16C100189DF84CBEBA6B5AA3193BA3B9 Ref B: MAA201060516029 Ref C: 2025-03-09T21:53:07Z' + - 'Ref A: 990D54CFB93F458D8604F6CBDA36D906 Ref B: MAA201060513019 Ref C: 2025-03-18T22:17:58Z' status: code: 200 message: OK @@ -746,9 +746,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-monthly-days @@ -761,15 +761,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:53:08 GMT + - Tue, 18 Mar 2025 22:17:59 GMT mise-correlation-id: - - bacad3ce-9d9c-45bf-b4e3-730808053a27 + - 93f9f1f1-38a2-45bd-95e5-f6815030d5af strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215308Z-16bc6c9867b562q7hC1SG1b75000000001rg00000000ch0u + - 20250318T221759Z-18477bc996c8wq9dhC1SG1e2t000000002vg000000007zza x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -782,7 +782,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-days"], "recurrence": {"frequency": "MonthlyByDays", "interval": 1, "weekDaysInMonth": ["Monday"], - "index": 1}, "startDateTime": "2025-03-09T21:52:15Z", "state": "Active", "displayName": + "index": 1}, "startDateTime": "2025-03-18T22:17:05Z", "state": "Active", "displayName": "Monthly By Days Trigger", "description": "Trigger schedule for monthly by days test case"}' headers: @@ -797,14 +797,14 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger - schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T21:53:08.991Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:08.991Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-18T22:18:00.132Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:18:00.132Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -815,15 +815,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:09 GMT + - Tue, 18 Mar 2025 22:18:00 GMT location: - - https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + - https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview mise-correlation-id: - - a2c5684a-325e-4540-aa41-9f35efecfbd8 + - 3a080ba5-7146-4521-82e5-dd148a02ea4b strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215308Z-16bc6c9867b562q7hC1SG1b75000000001rg00000000ch2x + - 20250318T221759Z-18477bc996c8wq9dhC1SG1e2t000000002vg000000008015 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -841,12 +841,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -855,9 +855,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:08 GMT + - Tue, 18 Mar 2025 22:18:00 GMT etag: - - '"a004d614-0000-0200-0000-67ce0dad0000"' + - '"c800de0d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -873,7 +873,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 88EEDC484C374986B7588CE3F25A7373 Ref B: MAA201060513039 Ref C: 2025-03-09T21:53:09Z' + - 'Ref A: 887ED3D00B454AA894315C6165635025 Ref B: MAA201060516039 Ref C: 2025-03-18T22:18:00Z' status: code: 200 message: OK @@ -887,14 +887,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger - schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-09T21:53:08.991Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:08.991Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-18T22:18:00.132Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:18:00.132Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -907,13 +907,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:10 GMT + - Tue, 18 Mar 2025 22:18:02 GMT mise-correlation-id: - - 28504d7e-7da7-4c36-94bb-f9f7b4a0fbf8 + - 97af70cd-26fc-406c-9d33-3448254e894b strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215309Z-16bc6c9867bps5cxhC1SG17nv400000001ng0000000075d0 + - 20250318T221801Z-18477bc996cnwpbrhC1SG1z5r000000002yg000000004ca3 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -931,12 +931,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -945,9 +945,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:11 GMT + - Tue, 18 Mar 2025 22:18:02 GMT etag: - - '"a004d614-0000-0200-0000-67ce0dad0000"' + - '"c800de0d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -963,7 +963,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 1450777E44724348BD94F4F19C92AA29 Ref B: MAA201060516023 Ref C: 2025-03-09T21:53:10Z' + - 'Ref A: 866DB710E5B948CD813BFEB980A333D7 Ref B: MAA201060516031 Ref C: 2025-03-18T22:18:02Z' status: code: 200 message: OK @@ -977,9 +977,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-cron @@ -992,15 +992,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:53:12 GMT + - Tue, 18 Mar 2025 22:18:04 GMT mise-correlation-id: - - 2fadbc5c-b020-424c-93bb-3cd4f14ccf49 + - a369f4aa-1411-44e6-932a-740d88322b60 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215311Z-16bc6c9867bh79t4hC1SG1qqen0000000150000000006wgq + - 20250318T221803Z-18477bc996c8wq9dhC1SG1e2t000000002u0000000009y5n x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -1012,7 +1012,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-cron"], "recurrence": - {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-09T21:52:15Z", + {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-18T22:17:05Z", "state": "Active", "displayName": "Cron Trigger", "description": "Trigger schedule for cron test case"}' headers: @@ -1027,15 +1027,15 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Cron","cronExpression":"0 - 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Cron","cronExpression":"0 + 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule - for cron test case","state":"Active","createdDateTime":"2025-03-09T21:53:12.724Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:12.724Z","lastModifiedBy":"hbisht@microsoft.com"}' + for cron test case","state":"Active","createdDateTime":"2025-03-18T22:18:04.509Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:18:04.509Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -1046,15 +1046,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:12 GMT + - Tue, 18 Mar 2025 22:18:04 GMT location: - - https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + - https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview mise-correlation-id: - - 530a09fb-4fe4-419b-affe-dce430d89df5 + - 116c8ec1-955a-4837-aa54-adcfe9a592ea strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215312Z-16bc6c9867bh79t4hC1SG1qqen0000000150000000006wk0 + - 20250318T221804Z-18477bc996c8wq9dhC1SG1e2t000000002u0000000009y8x x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -1072,12 +1072,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5821467Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5821467Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1086,9 +1086,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:12 GMT + - Tue, 18 Mar 2025 22:18:05 GMT etag: - - '"a004d614-0000-0200-0000-67ce0dad0000"' + - '"c800de0d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -1104,7 +1104,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 37B34985AF49408E9B67F7F505B88D70 Ref B: MAA201060515033 Ref C: 2025-03-09T21:53:13Z' + - 'Ref A: 39CFE6EC0CCC4AC5B4DD3D8E0DA50924 Ref B: MAA201060513035 Ref C: 2025-03-18T22:18:04Z' status: code: 200 message: OK @@ -1118,15 +1118,15 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d4563423-4585-4b2d-88cf-c21c1dd915b6.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Cron","cronExpression":"0 - 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Cron","cronExpression":"0 + 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule - for cron test case","state":"Active","createdDateTime":"2025-03-09T21:53:12.724Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:12.724Z","lastModifiedBy":"hbisht@microsoft.com"}' + for cron test case","state":"Active","createdDateTime":"2025-03-18T22:18:04.509Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:18:04.509Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -1139,13 +1139,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:13 GMT + - Tue, 18 Mar 2025 22:18:06 GMT mise-correlation-id: - - fa143318-00ab-4801-b64c-418dc306f53e + - d83fbeda-a0b8-4368-a812-f33146655eb7 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215313Z-16bc6c9867bndw6zhC1SG1arb0000000026g000000000csx + - 20250318T221805Z-18477bc996cc8zfdhC1SG1065w00000002sg00000000d8xg x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml b/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml index 6779fe5426c..c395ae0a818 100644 --- a/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml @@ -9,23 +9,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.5273415Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.5273415Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.188296Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.188296Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '665' + - '663' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:56 GMT + - Tue, 18 Mar 2025 22:17:48 GMT etag: - - '"a004ec14-0000-0200-0000-67ce0daf0000"' + - '"c800e20d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -39,9 +39,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16497' x-msedge-ref: - - 'Ref A: 7E4613A99E504D1CB7651F7333A6C0C9 Ref B: MAA201060513027 Ref C: 2025-03-09T21:52:55Z' + - 'Ref A: 8CE3A56920704930BFD5B6F6D76936D8 Ref B: MAA201060514019 Ref C: 2025-03-18T22:17:47Z' status: code: 200 message: OK @@ -55,9 +55,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-daily-trigger?api-version=2024-12-01-preview + uri: https://8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-daily-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-daily-trigger @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:52:57 GMT + - Tue, 18 Mar 2025 22:17:49 GMT mise-correlation-id: - - 2ddd378e-0e62-4a85-9a6c-deda19616ac8 + - 8ad5ce51-c923-42c1-8a37-d6d0d79c001f strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215256Z-16bc6c9867bzh7v7hC1SG1u0z8000000026g00000000eesu + - 20250318T221748Z-18477bc996cmrxbmhC1SG1uv1g00000002wg000000006kh9 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -98,23 +98,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.5273415Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.5273415Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.188296Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.188296Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '665' + - '663' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:58 GMT + - Tue, 18 Mar 2025 22:17:50 GMT etag: - - '"a004ec14-0000-0200-0000-67ce0daf0000"' + - '"c800e20d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: B314A3B75B3347B3A5F1E3FDAD448225 Ref B: MAA201060514027 Ref C: 2025-03-09T21:52:57Z' + - 'Ref A: C7957F4A80D840648CE23EBD0D16F9E7 Ref B: MAA201060515023 Ref C: 2025-03-18T22:17:49Z' status: code: 200 message: OK @@ -144,9 +144,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-weekly-trigger?api-version=2024-12-01-preview + uri: https://8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-weekly-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-weekly-trigger @@ -159,15 +159,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:52:59 GMT + - Tue, 18 Mar 2025 22:17:51 GMT mise-correlation-id: - - 9c0eb616-d220-4577-ae06-dad1bc05958f + - 814b0fd1-c24e-443f-8c94-8cd6a4af4d66 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215258Z-16bc6c9867bljt59hC1SG1cz54000000020g000000008t5h + - 20250318T221750Z-18477bc996cf8wxshC1SG1rav400000002x0000000005pda x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -187,23 +187,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.5273415Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.5273415Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.188296Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.188296Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '665' + - '663' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:59 GMT + - Tue, 18 Mar 2025 22:17:52 GMT etag: - - '"a004ec14-0000-0200-0000-67ce0daf0000"' + - '"c800e20d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -219,7 +219,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: BCED56659E544309845D67713B0A2883 Ref B: MAA201060516017 Ref C: 2025-03-09T21:52:59Z' + - 'Ref A: B19D133B2B4240EAA13E0A0340EED41A Ref B: MAA201060516049 Ref C: 2025-03-18T22:17:51Z' status: code: 200 message: OK @@ -233,9 +233,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-dates-trigger?api-version=2024-12-01-preview + uri: https://8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-dates-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-monthly-dates-trigger @@ -248,15 +248,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:53:01 GMT + - Tue, 18 Mar 2025 22:17:53 GMT mise-correlation-id: - - b89f396b-f7b9-4850-adc3-71cfd22f63dc + - 43fb3eec-f774-4f66-b81a-becebb6fbcbc strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215300Z-16bc6c9867btgkv4hC1SG1pnx8000000023g00000000491q + - 20250318T221753Z-18477bc996cmrxbmhC1SG1uv1g00000002x0000000005e7z x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -276,23 +276,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.5273415Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.5273415Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.188296Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.188296Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '665' + - '663' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:02 GMT + - Tue, 18 Mar 2025 22:17:54 GMT etag: - - '"a004ec14-0000-0200-0000-67ce0daf0000"' + - '"c800e20d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -308,7 +308,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 3CB6780B56254C3599EC513A3DD0A83B Ref B: MAA201060515051 Ref C: 2025-03-09T21:53:01Z' + - 'Ref A: FE76706049F2470E8EC4F6C595901841 Ref B: MAA201060516039 Ref C: 2025-03-18T22:17:53Z' status: code: 200 message: OK @@ -322,9 +322,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-days-trigger?api-version=2024-12-01-preview + uri: https://8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-days-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-monthly-days-trigger @@ -337,15 +337,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:53:03 GMT + - Tue, 18 Mar 2025 22:17:56 GMT mise-correlation-id: - - 863e770c-b78b-495c-9333-7b0a35c95899 + - ecc316bb-6fed-4032-9285-d77a3057b409 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215302Z-16bc6c9867bgcvffhC1SG1uu3n00000001s000000000am5s + - 20250318T221754Z-18477bc996ccts7chC1SG1v4mc00000002vg0000000093m4 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -365,23 +365,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.5273415Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.5273415Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.188296Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.188296Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '665' + - '663' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:04 GMT + - Tue, 18 Mar 2025 22:17:57 GMT etag: - - '"a004ec14-0000-0200-0000-67ce0daf0000"' + - '"c800e20d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -397,7 +397,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: F7CB8A18353A49D3A8778B5B3F703686 Ref B: MAA201060514031 Ref C: 2025-03-09T21:53:03Z' + - 'Ref A: B3AB055E56F543BA92F8259B0D34FC0E Ref B: MAA201060516039 Ref C: 2025-03-18T22:17:56Z' status: code: 200 message: OK @@ -411,9 +411,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://3304d1f6-02bb-41ed-8baf-0e31f9daf818.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-cron-trigger?api-version=2024-12-01-preview + uri: https://8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-cron-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-cron-trigger @@ -426,15 +426,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:53:05 GMT + - Tue, 18 Mar 2025 22:17:58 GMT mise-correlation-id: - - b4b80eb2-9bf2-4e51-9ca6-bcd1e1e91908 + - d9a13943-c8d1-42be-a01d-2bcb69196548 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215304Z-16bc6c9867bpbnpmhC1SG1p0kn00000002c0000000003pq3 + - 20250318T221758Z-18477bc996cclmt4hC1SG1728c00000002yg000000002bws x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml index c2c96b9b4c9..cc67b243619 100644 --- a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml @@ -9,12 +9,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.3353111Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.3353111Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0435499Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0435499Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:56 GMT + - Tue, 18 Mar 2025 22:17:47 GMT etag: - - '"a004e814-0000-0200-0000-67ce0dae0000"' + - '"c800d00d-0000-0200-0000-67d9f0ff0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: FC974CAACB0E49DE92F27DE063B43929 Ref B: MAA201060515025 Ref C: 2025-03-09T21:52:55Z' + - 'Ref A: 27E246C0FF654FB6A610EA878BF0D8F0 Ref B: MAA201060514023 Ref C: 2025-03-18T22:17:46Z' status: code: 200 message: OK @@ -55,9 +55,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-delete @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:52:57 GMT + - Tue, 18 Mar 2025 22:17:47 GMT mise-correlation-id: - - 4cac5ef5-42d1-4d87-94c9-63c17785acb4 + - 90897f66-8b3a-47f2-8c34-75acdf672354 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215256Z-16bc6c9867bxt797hC1SG12utn00000001mg0000000052d7 + - 20250318T221747Z-18477bc996cxk5l8hC1SG1wnx000000002wg0000000078ds x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-delete"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:52:15Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-18T22:17:05Z", "state": "Active", "displayName": "Delete Trigger", "description": "Trigger schedule for delete test case"}' headers: @@ -105,14 +105,14 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Delete + string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Delete Trigger","triggerId":"test-trigger-id-delete","description":"Trigger schedule - for delete test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.679Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.679Z","lastModifiedBy":"hbisht@microsoft.com"}' + for delete test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.153Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.153Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:57 GMT + - Tue, 18 Mar 2025 22:17:48 GMT location: - - https://56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + - https://63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview mise-correlation-id: - - 17ae16b2-27ae-4088-b5c4-c580b5e74ed3 + - 64e370d6-7363-4000-96f4-016c32a162df strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215257Z-16bc6c9867bxt797hC1SG12utn00000001mg0000000052ee + - 20250318T221747Z-18477bc996cxk5l8hC1SG1wnx000000002wg0000000078f9 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -149,12 +149,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.3353111Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.3353111Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0435499Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0435499Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:57 GMT + - Tue, 18 Mar 2025 22:17:49 GMT etag: - - '"a004e814-0000-0200-0000-67ce0dae0000"' + - '"c800d00d-0000-0200-0000-67d9f0ff0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: BEB82D0B5A3E4A1DBF8021EB3FFA2460 Ref B: MAA201060515031 Ref C: 2025-03-09T21:52:57Z' + - 'Ref A: 6A6CA28344474EFE8448454A6D6AAB6F Ref B: MAA201060515045 Ref C: 2025-03-18T22:17:48Z' status: code: 200 message: OK @@ -197,9 +197,9 @@ interactions: Content-Length: - '0' User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: DELETE - uri: https://56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: string: '' @@ -209,13 +209,13 @@ interactions: connection: - keep-alive date: - - Sun, 09 Mar 2025 21:52:59 GMT + - Tue, 18 Mar 2025 22:17:50 GMT mise-correlation-id: - - eff8a74a-f46c-48dc-be7e-e5d27c87279e + - ba4e5bb4-49be-40b0-93f9-c43750db877d strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215258Z-16bc6c9867btgkv4hC1SG1pnx8000000021g000000007sea + - 20250318T221749Z-18477bc996c7789nhC1SG1cyf800000002t000000000bp76 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -233,12 +233,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.3353111Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.3353111Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0435499Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0435499Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -247,9 +247,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:59 GMT + - Tue, 18 Mar 2025 22:17:50 GMT etag: - - '"a004e814-0000-0200-0000-67ce0dae0000"' + - '"c800d00d-0000-0200-0000-67d9f0ff0000"' expires: - '-1' pragma: @@ -263,9 +263,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: E773CA39103C4FADB9E045736E9A4FC7 Ref B: MAA201060516027 Ref C: 2025-03-09T21:52:59Z' + - 'Ref A: DA67514BF11D43E38E4C2F074F00154A Ref B: MAA201060516011 Ref C: 2025-03-18T22:17:50Z' status: code: 200 message: OK @@ -279,9 +279,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://56162363-8726-4340-837e-9bc176f77a51.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: string: '{"value":[]}' @@ -297,13 +297,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:00 GMT + - Tue, 18 Mar 2025 22:17:52 GMT mise-correlation-id: - - 371955f3-d3b0-4096-a3d8-c0cdd418cf11 + - 40b10c7f-6042-42ff-aa7b-8a628964a72e strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215259Z-16bc6c9867bpntnchC1SG1n3tn0000000240000000004t7v + - 20250318T221751Z-18477bc996c8hpqzhC1SG179ms00000002tg00000000cv1f x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml index 8e627ae4210..0391a69836d 100644 --- a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml @@ -9,12 +9,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:24.7102942Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:24.7102942Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:12.9935199Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:12.9935199Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:58 GMT + - Tue, 18 Mar 2025 22:17:46 GMT etag: - - '"a004ee14-0000-0200-0000-67ce0daf0000"' + - '"c800f00d-0000-0200-0000-67d9f1010000"' expires: - '-1' pragma: @@ -39,9 +39,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16497' + - '16499' x-msedge-ref: - - 'Ref A: 3D6349D1DF3A473C9F6E48E63BFFF1F4 Ref B: MAA201060515025 Ref C: 2025-03-09T21:52:58Z' + - 'Ref A: A502355040DA448AB657BCAFA3821961 Ref B: MAA201060513029 Ref C: 2025-03-18T22:17:46Z' status: code: 200 message: OK @@ -55,9 +55,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-enable @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:53:00 GMT + - Tue, 18 Mar 2025 22:17:47 GMT mise-correlation-id: - - 919a66a3-e5ab-409e-8584-6156a7cd0140 + - de8b1111-1d80-4ce5-8dc5-9b412d145bca strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215259Z-16bc6c9867bwklg4hC1SG166x00000000290000000008kgc + - 20250318T221746Z-18477bc996c8769chC1SG17fqs00000002sg00000000drpp x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-enable"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:52:15Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-18T22:17:05Z", "state": "Active", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case"}' headers: @@ -105,14 +105,14 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T21:53:00.206Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:00.206Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-18T22:17:47.924Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:47.924Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:00 GMT + - Tue, 18 Mar 2025 22:17:48 GMT location: - - https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + - https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview mise-correlation-id: - - 4e1fc571-5aca-4da5-b414-92df99d6c78e + - e5a1109b-d3c8-454d-a0bf-fbefa0bf7b1c strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215300Z-16bc6c9867bwklg4hC1SG166x00000000290000000008kma + - 20250318T221747Z-18477bc996c8769chC1SG17fqs00000002sg00000000druv x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -149,12 +149,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:24.7102942Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:24.7102942Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:12.9935199Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:12.9935199Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:00 GMT + - Tue, 18 Mar 2025 22:17:48 GMT etag: - - '"a004ee14-0000-0200-0000-67ce0daf0000"' + - '"c800f00d-0000-0200-0000-67d9f1010000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: E848AE764D674A7E989DD7CE5844062C Ref B: MAA201060513039 Ref C: 2025-03-09T21:53:00Z' + - 'Ref A: FDCCB8B4F3FC49B68117263510E2CC7E Ref B: MAA201060514049 Ref C: 2025-03-18T22:17:48Z' status: code: 200 message: OK @@ -195,14 +195,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T21:53:00.206Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:00.206Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-18T22:17:47.924Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:47.924Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:01 GMT + - Tue, 18 Mar 2025 22:17:49 GMT mise-correlation-id: - - 0e81d9a9-18a0-4c6f-a3ab-42bdd97d3064 + - 8c52a781-9ebd-400c-859c-147447ebacf9 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215301Z-16bc6c9867bbrkwghC1SG1yvwc00000001rg000000000u00 + - 20250318T221748Z-18477bc996c8769chC1SG17fqs00000002z00000000018hb x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -230,7 +230,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T21:52:15Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-18T22:17:05Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case", "state": "Paused"}' @@ -246,14 +246,14 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Paused","createdDateTime":"2025-03-09T21:53:00.206Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:01.902Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Paused","createdDateTime":"2025-03-18T22:17:47.924Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:49.625Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -266,13 +266,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:02 GMT + - Tue, 18 Mar 2025 22:17:49 GMT mise-correlation-id: - - 4c18ce30-cb0b-4504-8b83-b0e949553bc9 + - 7043bd24-7cd6-4db7-a7ae-766920d8c340 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215301Z-16bc6c9867bbrkwghC1SG1yvwc00000001rg000000000u27 + - 20250318T221749Z-18477bc996c8769chC1SG17fqs00000002z00000000018kp x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -290,12 +290,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:24.7102942Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:24.7102942Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:12.9935199Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:12.9935199Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -304,9 +304,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:02 GMT + - Tue, 18 Mar 2025 22:17:49 GMT etag: - - '"a004ee14-0000-0200-0000-67ce0daf0000"' + - '"c800f00d-0000-0200-0000-67d9f1010000"' expires: - '-1' pragma: @@ -320,9 +320,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 33A6225545D44E9A947A7F784882D8F2 Ref B: MAA201060513049 Ref C: 2025-03-09T21:53:02Z' + - 'Ref A: 5DE3F66372044DF692E9019680C0B7DC Ref B: MAA201060513011 Ref C: 2025-03-18T22:17:49Z' status: code: 200 message: OK @@ -336,14 +336,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Paused","createdDateTime":"2025-03-09T21:53:00.206Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:01.902Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Paused","createdDateTime":"2025-03-18T22:17:47.924Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:49.625Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -356,13 +356,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:03 GMT + - Tue, 18 Mar 2025 22:17:51 GMT mise-correlation-id: - - 1aa1c587-cec9-4e4e-a847-d64871b5701e + - e972cdef-eaba-4066-82de-6003e2652000 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215303Z-16bc6c9867btgkv4hC1SG1pnx8000000026000000000016k + - 20250318T221750Z-18477bc996cnh8rkhC1SG103f800000002xg000000004dap x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -371,7 +371,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-09T21:52:15Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-18T22:17:05Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case", "state": "Active"}' @@ -387,14 +387,14 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T21:53:00.206Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:04.086Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-18T22:17:47.924Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:51.455Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -407,13 +407,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:04 GMT + - Tue, 18 Mar 2025 22:17:51 GMT mise-correlation-id: - - c6aface0-6e36-4a3d-aa79-4a00ca1756c9 + - 51943019-3bdd-4e88-bd41-c55c84dba86f strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215303Z-16bc6c9867btgkv4hC1SG1pnx80000000260000000000174 + - 20250318T221751Z-18477bc996cnh8rkhC1SG103f800000002xg000000004dbp x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -431,12 +431,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:24.7102942Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:24.7102942Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:12.9935199Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:12.9935199Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -445,9 +445,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:04 GMT + - Tue, 18 Mar 2025 22:17:52 GMT etag: - - '"a004ee14-0000-0200-0000-67ce0daf0000"' + - '"c800f00d-0000-0200-0000-67d9f1010000"' expires: - '-1' pragma: @@ -463,7 +463,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 8499394B73A24F098E13A2B0944175A4 Ref B: MAA201060513025 Ref C: 2025-03-09T21:53:04Z' + - 'Ref A: DCC861A2DD6A4447A2FE626344447667 Ref B: MAA201060514019 Ref C: 2025-03-18T22:17:51Z' status: code: 200 message: OK @@ -477,14 +477,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://595b71fb-fc23-4e43-9004-fe776ab0a00c.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-09T21:53:00.206Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:04.086Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-18T22:17:47.924Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:51.455Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -497,13 +497,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:06 GMT + - Tue, 18 Mar 2025 22:17:53 GMT mise-correlation-id: - - a32daf97-9c67-45cd-b323-947f34b880b3 + - 2c8a7961-bbd6-40e5-8d4d-b0e123ad8603 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215305Z-16bc6c9867btgkv4hC1SG1pnx8000000023g0000000049aq + - 20250318T221752Z-18477bc996cxk5l8hC1SG1wnx000000002s000000000fbby x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml index f6f88ecb5a8..556824381e4 100644 --- a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml @@ -9,23 +9,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.373868Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.373868Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"4214daa0-d6f3-4fe8-b1f2-59da19341ee7.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:11.9162856Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:11.9162856Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"457fedcd-03e5-4a61-a8ce-96904d13fade.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '663' + - '665' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:56 GMT + - Tue, 18 Mar 2025 22:17:46 GMT etag: - - '"a004e514-0000-0200-0000-67ce0dae0000"' + - '"c800b70d-0000-0200-0000-67d9f0fe0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 01DADF69F5AF429A9DB44DC1624DF8DD Ref B: MAA201060514021 Ref C: 2025-03-09T21:52:55Z' + - 'Ref A: E2369B84DCC14CF4927228587F7BA09E Ref B: MAA201060515019 Ref C: 2025-03-18T22:17:46Z' status: code: 200 message: OK @@ -55,9 +55,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://4214daa0-d6f3-4fe8-b1f2-59da19341ee7.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + uri: https://457fedcd-03e5-4a61-a8ce-96904d13fade.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-list @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:52:57 GMT + - Tue, 18 Mar 2025 22:17:48 GMT mise-correlation-id: - - f80d9dfe-4ed6-42d5-bdfe-82f5b35e1e74 + - 7730a586-555f-4247-bbba-83d95791f453 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215256Z-16bc6c9867bfx5n4hC1SG10fvg00000001s000000000d1g3 + - 20250318T221747Z-18477bc996cf8wxshC1SG1rav400000002ug00000000ah79 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-list"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:52:15Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-18T22:17:05Z", "state": "Active", "displayName": "List Trigger", "description": "Trigger schedule for list test case"}' headers: @@ -105,14 +105,14 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://4214daa0-d6f3-4fe8-b1f2-59da19341ee7.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + uri: https://457fedcd-03e5-4a61-a8ce-96904d13fade.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"List Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule - for list test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.771Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.771Z","lastModifiedBy":"hbisht@microsoft.com"}' + for list test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.592Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.592Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:57 GMT + - Tue, 18 Mar 2025 22:17:48 GMT location: - - https://4214daa0-d6f3-4fe8-b1f2-59da19341ee7.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + - https://457fedcd-03e5-4a61-a8ce-96904d13fade.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview mise-correlation-id: - - dc3c1471-ceae-4396-8ba2-ffd0e7f06170 + - aae6720f-3dcd-411d-bc20-2f2456789ed4 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215257Z-16bc6c9867bfx5n4hC1SG10fvg00000001s000000000d1gz + - 20250318T221748Z-18477bc996cf8wxshC1SG1rav400000002ug00000000ah9b x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -149,23 +149,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.373868Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.373868Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"4214daa0-d6f3-4fe8-b1f2-59da19341ee7.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:11.9162856Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:11.9162856Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"457fedcd-03e5-4a61-a8ce-96904d13fade.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '663' + - '665' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:58 GMT + - Tue, 18 Mar 2025 22:17:49 GMT etag: - - '"a004e514-0000-0200-0000-67ce0dae0000"' + - '"c800b70d-0000-0200-0000-67d9f0fe0000"' expires: - '-1' pragma: @@ -179,9 +179,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16497' + - '16499' x-msedge-ref: - - 'Ref A: 00AF3464F8A44902A73DCF34F93D1679 Ref B: MAA201060513053 Ref C: 2025-03-09T21:52:58Z' + - 'Ref A: EFCAFE14498D4E2091261964933A5233 Ref B: MAA201060514037 Ref C: 2025-03-18T22:17:48Z' status: code: 200 message: OK @@ -195,14 +195,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://4214daa0-d6f3-4fe8-b1f2-59da19341ee7.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://457fedcd-03e5-4a61-a8ce-96904d13fade.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: - string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"List Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule - for list test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.771Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.771Z","lastModifiedBy":"hbisht@microsoft.com"}]}' + for list test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.592Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.592Z","lastModifiedBy":"hbisht@microsoft.com"}]}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:59 GMT + - Tue, 18 Mar 2025 22:17:50 GMT mise-correlation-id: - - 2a270477-b44c-49d5-a661-61a4d16500aa + - 6be65ede-7935-4baf-a012-63658fe4c8c6 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215258Z-16bc6c9867btmgl7hC1SG1qumc0000000260000000001wky + - 20250318T221749Z-18477bc996cqfz4fhC1SG1ugpc00000002s000000000em1y x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml index f0d41b9af8e..de51fdebf05 100644 --- a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml @@ -9,12 +9,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5260404Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5260404Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.2507936Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.2507936Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:58 GMT + - Tue, 18 Mar 2025 22:17:46 GMT etag: - - '"a004e114-0000-0200-0000-67ce0dae0000"' + - '"c800c80d-0000-0200-0000-67d9f0ff0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 8FF45503EFB243118D928567B6E6D12A Ref B: MAA201060513037 Ref C: 2025-03-09T21:52:58Z' + - 'Ref A: 5139A397B4AE492E89B74012266EE129 Ref B: MAA201060515021 Ref C: 2025-03-18T22:17:45Z' status: code: 200 message: OK @@ -55,9 +55,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-pause @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:52:59 GMT + - Tue, 18 Mar 2025 22:17:47 GMT mise-correlation-id: - - b372fc67-42b0-4a53-a93f-3c5bae049389 + - 09cf0aa1-f8d5-49dd-ae36-9edfdd1fc0ca strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215259Z-16bc6c9867btmgl7hC1SG1qumc000000025g000000002zb5 + - 20250318T221746Z-18477bc996cc8zfdhC1SG1065w00000002sg00000000d7f4 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-pause"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:52:15Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-18T22:17:05Z", "state": "Active", "displayName": "Pause Trigger", "description": "Trigger schedule for pause test case"}' headers: @@ -105,14 +105,14 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Active","createdDateTime":"2025-03-09T21:53:00.182Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:00.182Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Active","createdDateTime":"2025-03-18T22:17:47.745Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:47.745Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:00 GMT + - Tue, 18 Mar 2025 22:17:47 GMT location: - - https://c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + - https://596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview mise-correlation-id: - - b8a35c32-e502-4f29-8850-2b70c2600fd3 + - 2f349a92-c103-4e82-8af3-e5f435938b05 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215259Z-16bc6c9867btmgl7hC1SG1qumc000000025g000000002zcd + - 20250318T221747Z-18477bc996cc8zfdhC1SG1065w00000002sg00000000d7gr x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -149,12 +149,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5260404Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5260404Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.2507936Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.2507936Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:01 GMT + - Tue, 18 Mar 2025 22:17:48 GMT etag: - - '"a004e114-0000-0200-0000-67ce0dae0000"' + - '"c800c80d-0000-0200-0000-67d9f0ff0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: F4C1E03CEF794141AB611A70D50702F6 Ref B: MAA201060516033 Ref C: 2025-03-09T21:53:00Z' + - 'Ref A: D97D82719C96451F966D3C2264FF0E80 Ref B: MAA201060516031 Ref C: 2025-03-18T22:17:48Z' status: code: 200 message: OK @@ -195,14 +195,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Active","createdDateTime":"2025-03-09T21:53:00.182Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:00.182Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Active","createdDateTime":"2025-03-18T22:17:47.745Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:47.745Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:02 GMT + - Tue, 18 Mar 2025 22:17:49 GMT mise-correlation-id: - - fb56c155-431d-4845-9216-3778b03c4943 + - 22e4dc20-9b70-4941-8683-1c09cb5f333a strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215301Z-16bc6c9867bhn5b6hC1SG115gc00000001k0000000006ycw + - 20250318T221749Z-18477bc996cpf7dhhC1SG1fbe400000002sg00000000btcy x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -230,7 +230,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-09T21:52:15Z", + body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-18T22:17:05Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Pause Trigger", "description": "Trigger schedule for pause test case", "state": "Paused"}' @@ -246,14 +246,14 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Paused","createdDateTime":"2025-03-09T21:53:00.182Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:02.784Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Paused","createdDateTime":"2025-03-18T22:17:47.745Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:50.063Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -266,13 +266,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:03 GMT + - Tue, 18 Mar 2025 22:17:50 GMT mise-correlation-id: - - 19b07a6c-3df0-49ed-b1a1-3ad6107663de + - 45892691-603b-460d-91d7-8456f4f8c6e1 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215302Z-16bc6c9867bhn5b6hC1SG115gc00000001k0000000006yku + - 20250318T221749Z-18477bc996cpf7dhhC1SG1fbe400000002sg00000000btdr x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -290,12 +290,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.5260404Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.5260404Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.2507936Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.2507936Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -304,9 +304,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:04 GMT + - Tue, 18 Mar 2025 22:17:50 GMT etag: - - '"a004e114-0000-0200-0000-67ce0dae0000"' + - '"c800c80d-0000-0200-0000-67d9f0ff0000"' expires: - '-1' pragma: @@ -322,7 +322,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: A8E6A70DDAD448A7B4B9FCD79C3D92A4 Ref B: MAA201060514045 Ref C: 2025-03-09T21:53:03Z' + - 'Ref A: D5B3F719C4F04378A052E72DC2B9DE2F Ref B: MAA201060516019 Ref C: 2025-03-18T22:17:50Z' status: code: 200 message: OK @@ -336,14 +336,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://c1b69753-60fd-4e95-86bc-c4a583f976a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Paused","createdDateTime":"2025-03-09T21:53:00.182Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:02.784Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Paused","createdDateTime":"2025-03-18T22:17:47.745Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:50.063Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -356,13 +356,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:05 GMT + - Tue, 18 Mar 2025 22:17:52 GMT mise-correlation-id: - - 1fd5ed44-4c58-4b82-8df1-73f49ce7dcd0 + - f0d833ed-fef8-4eeb-8f01-21fc3306a5df strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215304Z-16bc6c9867bwklg4hC1SG166x000000002bg000000004b39 + - 20250318T221751Z-18477bc996clttsthC1SG10a4s00000002w0000000007and x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml index 99540eda531..8d98932ebab 100644 --- a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml @@ -9,12 +9,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.4338807Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.4338807Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"26bbff4b-b9f8-49c6-ad24-eff9614ca654.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.2532996Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.2532996Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0c35ed1c-f4bc-497d-a640-899f51d8133a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:55 GMT + - Tue, 18 Mar 2025 22:17:48 GMT etag: - - '"a004d014-0000-0200-0000-67ce0dac0000"' + - '"c800180e-0000-0200-0000-67d9f1030000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 9D57462D6EF24C13B3C95589BE65E081 Ref B: MAA201060514021 Ref C: 2025-03-09T21:52:55Z' + - 'Ref A: 0989F10F97894A39B2B19ABF74768ED6 Ref B: MAA201060516011 Ref C: 2025-03-18T22:17:48Z' status: code: 200 message: OK @@ -55,9 +55,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://26bbff4b-b9f8-49c6-ad24-eff9614ca654.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://0c35ed1c-f4bc-497d-a640-899f51d8133a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-update @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:52:56 GMT + - Tue, 18 Mar 2025 22:17:49 GMT mise-correlation-id: - - 6695f6cc-ffcc-4d10-8dbe-5bc486166da1 + - 3f785483-9d3f-4c3a-8a97-5652e30c3382 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215256Z-16bc6c9867bndw6zhC1SG1arb0000000026g000000000brc + - 20250318T221749Z-18477bc996chwsz5hC1SG1mqb800000002zg00000000090x x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:52:15Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-18T22:17:05Z", "state": "Active", "displayName": "Update Trigger", "description": "Trigger schedule for update test case"}' headers: @@ -105,14 +105,14 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://26bbff4b-b9f8-49c6-ad24-eff9614ca654.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://0c35ed1c-f4bc-497d-a640-899f51d8133a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:58.162Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:58.162Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:50.109Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:50.109Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:58 GMT + - Tue, 18 Mar 2025 22:17:50 GMT location: - - https://26bbff4b-b9f8-49c6-ad24-eff9614ca654.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + - https://0c35ed1c-f4bc-497d-a640-899f51d8133a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview mise-correlation-id: - - 1ed4a092-9c57-4ada-8051-a236be1b664b + - eaa520ab-fa84-48af-a27e-ed5c3c34b6d5 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215256Z-16bc6c9867bndw6zhC1SG1arb0000000026g000000000bsf + - 20250318T221749Z-18477bc996chwsz5hC1SG1mqb800000002zg000000000920 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -149,12 +149,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:22.4338807Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:22.4338807Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"26bbff4b-b9f8-49c6-ad24-eff9614ca654.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.2532996Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.2532996Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0c35ed1c-f4bc-497d-a640-899f51d8133a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:59 GMT + - Tue, 18 Mar 2025 22:17:50 GMT etag: - - '"a004d014-0000-0200-0000-67ce0dac0000"' + - '"c800180e-0000-0200-0000-67d9f1030000"' expires: - '-1' pragma: @@ -179,9 +179,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 82ECD135E3BF4676A2E83AF982AB392A Ref B: MAA201060516033 Ref C: 2025-03-09T21:52:58Z' + - 'Ref A: 69C36F9E8108427E9BA59F230950FFB8 Ref B: MAA201060514011 Ref C: 2025-03-18T22:17:50Z' status: code: 200 message: OK @@ -195,14 +195,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://26bbff4b-b9f8-49c6-ad24-eff9614ca654.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://0c35ed1c-f4bc-497d-a640-899f51d8133a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:58.162Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:58.162Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:50.109Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:50.109Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:00 GMT + - Tue, 18 Mar 2025 22:17:52 GMT mise-correlation-id: - - 7383fe3d-3bea-496a-be60-4178cd9735cc + - 50538d3e-f7a5-4f78-9110-847bd35ddc04 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215259Z-16bc6c9867bgcvffhC1SG1uu3n00000001tg0000000085sh + - 20250318T221751Z-18477bc996cmrxbmhC1SG1uv1g00000002yg00000000251z x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -232,8 +232,8 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": {"frequency": "Weekly", "interval": 1, "daysOfWeek": ["Monday"]}, "startDateTime": - "2025-03-09T21:52:15Z", "displayName": "Update Trigger", "description": "Trigger - schedule for update test case"}' + "2025-03-18T22:17:05Z", "displayName": "Update Trigger", "description": "Trigger + schedule for update test case", "state": "Active"}' headers: Accept: - application/json @@ -242,18 +242,18 @@ interactions: Connection: - keep-alive Content-Length: - - '273' + - '292' Content-Type: - application/merge-patch+json User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://26bbff4b-b9f8-49c6-ad24-eff9614ca654.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://0c35ed1c-f4bc-497d-a640-899f51d8133a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-24T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","createdDateTime":"2025-03-09T21:52:58.162Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:53:00.379Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:50.109Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:52.199Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -262,17 +262,17 @@ interactions: connection: - keep-alive content-length: - - '535' + - '552' content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:00 GMT + - Tue, 18 Mar 2025 22:17:52 GMT mise-correlation-id: - - 5bc5acc1-76ec-497b-90d7-0e0d99d66182 + - b5b9e868-f4ec-49ee-8dbd-363f30f00c01 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215300Z-16bc6c9867bgcvffhC1SG1uu3n00000001tg0000000085tk + - 20250318T221752Z-18477bc996cmrxbmhC1SG1uv1g00000002yg00000000254h x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml index 227f7460e4d..d60a8afb398 100644 --- a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml @@ -9,12 +9,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.0323823Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.0323823Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.5379575Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.5379575Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:55 GMT + - Tue, 18 Mar 2025 22:17:47 GMT etag: - - '"a004d914-0000-0200-0000-67ce0dad0000"' + - '"c800e00d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -39,9 +39,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 142B61BEDB1844A2B5553E423BE501E7 Ref B: MAA201060515029 Ref C: 2025-03-09T21:52:55Z' + - 'Ref A: 1A4139B70EC5414EAD375B9A0D3FF336 Ref B: MAA201060516019 Ref C: 2025-03-18T22:17:47Z' status: code: 200 message: OK @@ -55,9 +55,9 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: update-invalid-trigger @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Sun, 09 Mar 2025 21:52:57 GMT + - Tue, 18 Mar 2025 22:17:48 GMT mise-correlation-id: - - d098b0b5-4453-4d2d-aaa0-3df33323fd47 + - 609f513b-844b-4ad7-a140-25f813b44b96 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250309T215256Z-16bc6c9867b562q7hC1SG1b75000000001vg0000000068cc + - 20250318T221748Z-18477bc996cwsj7whC1SG1ee1c00000002u000000000aydn x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-09T21:52:15Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-18T22:17:05Z", "state": "Active", "displayName": "Update Trigger", "description": "Trigger schedule for update test case"}' headers: @@ -105,14 +105,14 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.205Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.205Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.886Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.886Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:57 GMT + - Tue, 18 Mar 2025 22:17:49 GMT location: - - https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + - https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview mise-correlation-id: - - 967fc260-d304-4836-a145-332c46194baf + - e7957f09-7ebf-4fcd-a002-a692fa2b4db1 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215257Z-16bc6c9867b562q7hC1SG1b75000000001vg0000000068dy + - 20250318T221748Z-18477bc996cwsj7whC1SG1ee1c00000002u000000000ayf2 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -149,12 +149,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.0323823Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.0323823Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.5379575Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.5379575Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:57 GMT + - Tue, 18 Mar 2025 22:17:49 GMT etag: - - '"a004d914-0000-0200-0000-67ce0dad0000"' + - '"c800e00d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 4F7FEEFD588240D1B7191367C60CD112 Ref B: MAA201060516011 Ref C: 2025-03-09T21:52:57Z' + - 'Ref A: 9E4466614CCA47239ADF1D43F5647549 Ref B: MAA201060514009 Ref C: 2025-03-18T22:17:49Z' status: code: 200 message: OK @@ -195,14 +195,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.205Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.205Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.886Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.886Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:59 GMT + - Tue, 18 Mar 2025 22:17:50 GMT mise-correlation-id: - - 92ffaff7-5995-47f9-82ab-aa9c0d11ee1c + - 5d519c3d-15e7-4a94-a80b-5f9518e3dd19 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215258Z-16bc6c9867bxt797hC1SG12utn00000001ng000000003hwc + - 20250318T221749Z-18477bc996cnh8rkhC1SG103f800000002yg000000002b9c x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -239,12 +239,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.0323823Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.0323823Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.5379575Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.5379575Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -253,9 +253,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:52:59 GMT + - Tue, 18 Mar 2025 22:17:51 GMT etag: - - '"a004d914-0000-0200-0000-67ce0dad0000"' + - '"c800e00d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -271,7 +271,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: E310E2D6DDAA44D28BC1EF01A83450BB Ref B: MAA201060514053 Ref C: 2025-03-09T21:52:59Z' + - 'Ref A: 796E9788367743F7ACA08C7C0730FF4F Ref B: MAA201060513021 Ref C: 2025-03-18T22:17:50Z' status: code: 200 message: OK @@ -285,14 +285,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.205Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.205Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.886Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.886Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -305,13 +305,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:00 GMT + - Tue, 18 Mar 2025 22:17:52 GMT mise-correlation-id: - - 279151dc-3c22-4a50-b5dc-102b8b5f2e60 + - 9a888722-2cf4-4ffe-8c20-7d57fef9465f strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215259Z-16bc6c9867bh79t4hC1SG1qqen000000015g000000005nye + - 20250318T221751Z-18477bc996cwsj7whC1SG1ee1c00000002vg0000000082dd x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -329,12 +329,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.0323823Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.0323823Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.5379575Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.5379575Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -343,9 +343,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:01 GMT + - Tue, 18 Mar 2025 22:17:53 GMT etag: - - '"a004d914-0000-0200-0000-67ce0dad0000"' + - '"c800e00d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -361,7 +361,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: BB266EC13B064621A3CCB1EA5D2E83B6 Ref B: MAA201060515045 Ref C: 2025-03-09T21:53:00Z' + - 'Ref A: 8C4336280C394D72A5DDC094025C5F0E Ref B: MAA201060513021 Ref C: 2025-03-18T22:17:52Z' status: code: 200 message: OK @@ -375,14 +375,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.205Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.205Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.886Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.886Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -395,13 +395,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:02 GMT + - Tue, 18 Mar 2025 22:17:54 GMT mise-correlation-id: - - c50c79d1-3c52-4b88-a53a-fe26cee10f0a + - 2fa3f815-2f6e-4cf4-87fc-bad7685837c6 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215301Z-16bc6c9867bljt59hC1SG1cz5400000001y000000000dh7y + - 20250318T221753Z-18477bc996cmrxbmhC1SG1uv1g00000002xg000000004nny x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -419,12 +419,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.0323823Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.0323823Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.5379575Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.5379575Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -433,9 +433,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:02 GMT + - Tue, 18 Mar 2025 22:17:54 GMT etag: - - '"a004d914-0000-0200-0000-67ce0dad0000"' + - '"c800e00d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -449,9 +449,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: D2E6CAC2CC8A4BD0A0088E226F770611 Ref B: MAA201060515039 Ref C: 2025-03-09T21:53:02Z' + - 'Ref A: C474AA7F03944892B680D314C42F4F42 Ref B: MAA201060514047 Ref C: 2025-03-18T22:17:54Z' status: code: 200 message: OK @@ -465,14 +465,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.205Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.205Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.886Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.886Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -485,13 +485,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:05 GMT + - Tue, 18 Mar 2025 22:17:56 GMT mise-correlation-id: - - 1e41168d-6f03-472b-8621-976b8fd9e80f + - 7959cea8-b820-42b8-b18c-b8fd5e7ea10f strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215303Z-16bc6c9867b2q4x9hC1SG1enhn000000025000000000357s + - 20250318T221755Z-18477bc996cb8q6qhC1SG1qtwn00000002t000000000deuc x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -509,12 +509,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - azsdk-python-mgmt-loadtesting/1.0.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-09T21:52:23.0323823Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-09T21:52:23.0323823Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.5379575Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.5379575Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -523,9 +523,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:06 GMT + - Tue, 18 Mar 2025 22:17:57 GMT etag: - - '"a004d914-0000-0200-0000-67ce0dad0000"' + - '"c800e00d-0000-0200-0000-67d9f1000000"' expires: - '-1' pragma: @@ -541,7 +541,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 53F54344AA3F44ABBDBD78E2C8E97F4A Ref B: MAA201060516023 Ref C: 2025-03-09T21:53:05Z' + - 'Ref A: 2E2AC058A57D468F96B9A15D6CE6208A Ref B: MAA201060514037 Ref C: 2025-03-18T22:17:56Z' status: code: 200 message: OK @@ -555,14 +555,14 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.5.0-1025-azure-x86_64-with-glibc2.36) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://2aec97a4-363a-455f-a1d7-62e86faf7f09.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-09T21:52:15Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-10T21:52:15Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-09T21:52:57.205Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-09T21:52:57.205Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.886Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.886Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -575,13 +575,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 09 Mar 2025 21:53:07 GMT + - Tue, 18 Mar 2025 22:17:58 GMT mise-correlation-id: - - bdd6242c-a474-4c56-8d46-41d26ec98b4a + - cf199f3d-c975-4c6c-8c8a-5ecd69a34be1 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250309T215306Z-16bc6c9867btmgl7hC1SG1qumc00000002500000000040zs + - 20250318T221757Z-18477bc996c8769chC1SG17fqs00000002zg0000000007zz x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/test_load_trigger_schedule.py b/src/load/azext_load/tests/latest/test_load_trigger_schedule.py index f9148a89b54..26f0b966299 100644 --- a/src/load/azext_load/tests/latest/test_load_trigger_schedule.py +++ b/src/load/azext_load/tests/latest/test_load_trigger_schedule.py @@ -53,7 +53,7 @@ def create_trigger_schedule(self, trigger_id, description, display_name, start_d if recurrence_week_days: cmd.append(f'--recurrence-week-days {recurrence_week_days}') if recurrence_dates_in_month: - cmd.append(f'--recurrence-dates-in-month {recurrence_dates_in_month}') + cmd.append(f'--recurrence-dates {recurrence_dates_in_month}') if recurrence_index: cmd.append(f'--recurrence-index {recurrence_index}') if recurrence_cron_expression: @@ -207,6 +207,7 @@ def test_create_and_verify_trigger_schedules(self, rg, load): @ResourceGroupPreparer(**rg_params) @LoadTestResourcePreparer(**load_params) def test_update_trigger_schedule(self, rg, load): + # Create the trigger schedule with Daily recurrence self.create_trigger_schedule( trigger_id=LoadTestTriggerConstants.UPDATE_TRIGGER_ID, description=LoadTestTriggerConstants.UPDATE_DESCRIPTION, @@ -237,6 +238,7 @@ def test_update_trigger_schedule(self, rg, load): JMESPathCheck("testIds[0]", self.kwargs["test_ids"]), ] + # Update the trigger schedule to weekly recurrence self.cmd( 'az load trigger schedule update ' '--name {load_test_resource} ' @@ -252,6 +254,7 @@ def test_update_trigger_schedule(self, rg, load): checks=checks, ) + @ResourceGroupPreparer(**rg_params) @LoadTestResourcePreparer(**load_params) def test_list_trigger_schedules(self, rg, load): @@ -408,6 +411,7 @@ def test_enable_trigger_schedule(self, rg, load): checks=checks, ) + @ResourceGroupPreparer(**rg_params) @LoadTestResourcePreparer(**load_params) def test_create_trigger_schedule_invalid_cases(self, rg, load): @@ -476,6 +480,56 @@ def test_create_trigger_schedule_invalid_cases(self, rg, load): test_ids=LoadTestTriggerConstants.CRON_TEST_IDS ) + # Test invalid date-time format + with self.assertRaises(InvalidArgumentValueError): + self.create_trigger_schedule( + trigger_id=LoadTestTriggerConstants.INVALID_DAILY_TRIGGER_ID, + description=LoadTestTriggerConstants.DAILY_DESCRIPTION, + display_name=LoadTestTriggerConstants.DAILY_DISPLAY_NAME, + start_date_time="2025-02-04T14:20:31", # Invalid date-time format, not utc format + recurrence_type=LoadTestTriggerConstants.DAILY_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.RECURRENCE_INTERVAL_ONE, + test_ids=LoadTestTriggerConstants.DAILY_TEST_IDS + ) + + # Test invalid recurrence interval + with self.assertRaises(SystemExit): # Use SystemExit to catch argument parser errors + self.create_trigger_schedule( + trigger_id=LoadTestTriggerConstants.INVALID_DAILY_TRIGGER_ID, + description=LoadTestTriggerConstants.DAILY_DESCRIPTION, + display_name=LoadTestTriggerConstants.DAILY_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.DAILY_RECURRENCE_TYPE, + recurrence_interval="invalid-interval", # Invalid recurrence interval + test_ids=LoadTestTriggerConstants.DAILY_TEST_IDS + ) + + # Test invalid recurrence dates in month + with self.assertRaises(SystemExit): # Use SystemExit to catch argument parser errors + self.create_trigger_schedule( + trigger_id=LoadTestTriggerConstants.INVALID_MONTHLY_DATES_TRIGGER_ID, + description=LoadTestTriggerConstants.MONTHLY_DATES_DESCRIPTION, + display_name=LoadTestTriggerConstants.MONTHLY_DATES_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_INTERVAL, + recurrence_dates_in_month="invalid-dates-in-month", # Invalid dates in month + test_ids=LoadTestTriggerConstants.MONTHLY_DATES_TEST_IDS + ) + + # Test invalid recurrence week days + with self.assertRaises(SystemExit): + self.create_trigger_schedule( + trigger_id=LoadTestTriggerConstants.INVALID_WEEKLY_TRIGGER_ID, + description=LoadTestTriggerConstants.WEEKLY_DESCRIPTION, + display_name=LoadTestTriggerConstants.WEEKLY_DISPLAY_NAME, + start_date_time=LoadTestTriggerConstants.CURRENT_DATE_TIME, + recurrence_type=LoadTestTriggerConstants.WEEKLY_RECURRENCE_TYPE, + recurrence_interval=LoadTestTriggerConstants.WEEKLY_RECURRENCE_INTERVAL, + recurrence_week_days="invalid-week-days", # Invalid week days + test_ids=LoadTestTriggerConstants.WEEKLY_TEST_IDS + ) + @ResourceGroupPreparer(**rg_params) @LoadTestResourcePreparer(**load_params) def test_update_trigger_schedule_invalid_cases(self, rg, load): @@ -522,7 +576,7 @@ def test_update_trigger_schedule_invalid_cases(self, rg, load): f'--recurrence-type {LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_TYPE} ' f'--recurrence-interval {LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_INTERVAL} ' f'--recurrence-week-days {LoadTestTriggerConstants.MONTHLY_DAYS_RECURRENCE_WEEK_DAYS} ' # Invalid parameter for monthly by dates recurrence - f'--recurrence-dates-in-month {LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_DATES_IN_MONTH} ' + f'--recurrence-dates {LoadTestTriggerConstants.MONTHLY_DATES_RECURRENCE_DATES_IN_MONTH} ' ) # Test invalid update to monthly by days recurrence without required parameters From e440470c49cc557f3133829b8e38d83264dc9841 Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Wed, 19 Mar 2025 07:06:41 +0000 Subject: [PATCH 15/16] Fixes after running githooks --- src/load/HISTORY.rst | 2 +- .../data_plane/load_trigger/custom.py | 2 + .../azext_load/data_plane/utils/validators.py | 17 +- ...t_create_and_verify_trigger_schedules.yaml | 260 +++++++++--------- ...create_trigger_schedule_invalid_cases.yaml | 92 +++---- .../test_delete_trigger_schedule.yaml | 64 ++--- .../test_enable_trigger_schedule.yaml | 124 ++++----- .../test_list_trigger_schedules.yaml | 56 ++-- .../test_pause_trigger_schedule.yaml | 88 +++--- .../test_update_trigger_schedule.yaml | 72 ++--- ...update_trigger_schedule_invalid_cases.yaml | 136 ++++----- src/load/setup.py | 2 +- 12 files changed, 460 insertions(+), 455 deletions(-) diff --git a/src/load/HISTORY.rst b/src/load/HISTORY.rst index 0e5a59ca686..a0ad3670919 100644 --- a/src/load/HISTORY.rst +++ b/src/load/HISTORY.rst @@ -2,7 +2,7 @@ Release History =============== -1.7.0 +1.8.0 ++++++ * Add commands for creating and managing schedule triggers using CLI. diff --git a/src/load/azext_load/data_plane/load_trigger/custom.py b/src/load/azext_load/data_plane/load_trigger/custom.py index 85daf4a9378..8d8ae536d87 100644 --- a/src/load/azext_load/data_plane/load_trigger/custom.py +++ b/src/load/azext_load/data_plane/load_trigger/custom.py @@ -3,6 +3,8 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- +# pylint: disable=line-too-long + from azure.core.exceptions import ResourceNotFoundError from azure.cli.core.azclierror import InvalidArgumentValueError, ValidationError from knack.log import get_logger diff --git a/src/load/azext_load/data_plane/utils/validators.py b/src/load/azext_load/data_plane/utils/validators.py index 4cd593c4e8d..15958fbbceb 100644 --- a/src/load/azext_load/data_plane/utils/validators.py +++ b/src/load/azext_load/data_plane/utils/validators.py @@ -26,27 +26,30 @@ logger = get_logger(__name__) -def _validate_id(namespace, id_name): + +def _validate_id(namespace, id_name, arg_name=None): """Validates a generic ID""" id_value = getattr(namespace, id_name, None) + arg_name = arg_name or id_name if id_value is None: - raise InvalidArgumentValueError(f"{id_name} is required.") + raise InvalidArgumentValueError(f"{arg_name} is required.") if not isinstance(id_value, str): raise InvalidArgumentValueError( - f"Invalid {id_name} type: {type(id_value)}. Expected a string." + f"Invalid {arg_name} type: {type(id_value)}. Expected a string." ) if not re.match("^[a-z0-9_-]*$", id_value): - raise InvalidArgumentValueError(f"Invalid {id_name} value.") + raise InvalidArgumentValueError(f"Invalid {arg_name} value.") def validate_test_id(namespace): """Validates test-id""" - _validate_id(namespace, "test_id") + _validate_id(namespace, "test_id", "test-id") def validate_test_run_id(namespace): """Validates test-run-id""" - _validate_id(namespace, "test_run_id") + _validate_id(namespace, "test_run_id", "test-run-id") + def _validate_akv_url(string, url_type="secrets|certificates|keys|storage"): """Validates Azure Key Vault URL""" @@ -573,7 +576,7 @@ def validate_engine_ref_ids_and_type(incoming_engine_ref_id_type, engine_ref_ids def validate_trigger_id(namespace): """Validates trigger-id""" - _validate_id(namespace, "trigger_id") + _validate_id(namespace, "trigger_id", "trigger-id") def validate_recurrence_dates_in_month(namespace): diff --git a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml index 6f65759aab4..64ee6a65077 100644 --- a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:47 GMT + - Wed, 19 Mar 2025 07:03:19 GMT etag: - - '"c800de0d-0000-0200-0000-67d9f1000000"' + - '"d6008ea5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 203A8642EBF64DD2899E03F421DCA287 Ref B: MAA201060514037 Ref C: 2025-03-18T22:17:47Z' + - 'Ref A: 0AC0C21453EE4F919F5321D0BE007CB0 Ref B: MAA201060515021 Ref C: 2025-03-19T07:03:19Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-daily @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:17:49 GMT + - Wed, 19 Mar 2025 07:03:22 GMT mise-correlation-id: - - 405511d6-0827-445b-b88d-c7ad88b14fe9 + - a2aa5c10-4fc5-4dd7-8997-07f9e42e6d2f strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221748Z-18477bc996cclmt4hC1SG1728c00000002x0000000005erf + - 20250319T070321Z-18477bc996c8hpqzhC1SG179ms00000003zg00000000cwer x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-daily"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-18T22:17:05Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T07:02:36Z", "state": "Active", "displayName": "Daily Trigger", "description": "Trigger schedule for daily test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule - for daily test case","state":"Active","createdDateTime":"2025-03-18T22:17:49.389Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:49.389Z","lastModifiedBy":"hbisht@microsoft.com"}' + for daily test case","state":"Active","createdDateTime":"2025-03-19T07:03:22.213Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:22.213Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:49 GMT + - Wed, 19 Mar 2025 07:03:22 GMT location: - - https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + - https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview mise-correlation-id: - - 09ab7c60-0aa6-40f1-a4eb-10dce0803527 + - dc70a5a4-c8e4-4f57-985b-94c5042bc22c strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221749Z-18477bc996cclmt4hC1SG1728c00000002x0000000005etb + - 20250319T070322Z-18477bc996c8hpqzhC1SG179ms00000003zg00000000cwkm x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:50 GMT + - Wed, 19 Mar 2025 07:03:22 GMT etag: - - '"c800de0d-0000-0200-0000-67d9f1000000"' + - '"d6008ea5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 3E17C42DD84141ADB939EC485F842B4D Ref B: MAA201060515029 Ref C: 2025-03-18T22:17:49Z' + - 'Ref A: AE1EB7D8564347B196CF0C9A352C4D51 Ref B: MAA201060516019 Ref C: 2025-03-19T07:03:22Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule - for daily test case","state":"Active","createdDateTime":"2025-03-18T22:17:49.389Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:49.389Z","lastModifiedBy":"hbisht@microsoft.com"}' + for daily test case","state":"Active","createdDateTime":"2025-03-19T07:03:22.213Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:22.213Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:51 GMT + - Wed, 19 Mar 2025 07:03:24 GMT mise-correlation-id: - - f79a6bc0-188d-40ed-8337-6a3af92ee8b2 + - 5d2937ed-6bbf-4e0c-8179-a343938ae9c1 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221750Z-18477bc996cwsj7whC1SG1ee1c00000002u000000000aymv + - 20250319T070323Z-18477bc996cxwjzbhC1SG1ra6g00000001u00000000065mp x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -244,7 +244,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -253,9 +253,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:51 GMT + - Wed, 19 Mar 2025 07:03:26 GMT etag: - - '"c800de0d-0000-0200-0000-67d9f1000000"' + - '"d6008ea5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -271,7 +271,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 63DACB584F034FA99F7F6BA39A66A6DE Ref B: MAA201060513019 Ref C: 2025-03-18T22:17:51Z' + - 'Ref A: 1D2641EE4C7F418C864B98E733BBBB9D Ref B: MAA201060515017 Ref C: 2025-03-19T07:03:24Z' status: code: 200 message: OK @@ -287,7 +287,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-weekly @@ -300,15 +300,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:17:53 GMT + - Wed, 19 Mar 2025 07:03:27 GMT mise-correlation-id: - - 335e5efa-b034-4e4a-b3e1-f06483d9ac61 + - 99abd5b4-440d-44c7-a0f4-5684f4f824f3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221752Z-18477bc996clttsthC1SG10a4s00000002v0000000009pb6 + - 20250319T070326Z-18477bc996cnwpbrhC1SG1z5r0000000040000000000f9tv x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -321,7 +321,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-weekly"], "recurrence": {"frequency": "Weekly", "interval": 1, "daysOfWeek": ["Monday"]}, "startDateTime": - "2025-03-18T22:17:05Z", "state": "Active", "displayName": "Weekly Trigger", + "2025-03-19T07:02:36Z", "state": "Active", "displayName": "Weekly Trigger", "description": "Trigger schedule for weekly test case"}' headers: Accept: @@ -337,12 +337,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-24T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-24T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule - for weekly test case","state":"Active","createdDateTime":"2025-03-18T22:17:53.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:53.287Z","lastModifiedBy":"hbisht@microsoft.com"}' + for weekly test case","state":"Active","createdDateTime":"2025-03-19T07:03:28.891Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:28.891Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -353,15 +353,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:53 GMT + - Wed, 19 Mar 2025 07:03:29 GMT location: - - https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + - https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview mise-correlation-id: - - 237ad352-2649-4bb0-9cca-d837005ff502 + - 8a17f04c-4b0e-4c17-92ef-267f0f5213c5 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221753Z-18477bc996clttsthC1SG10a4s00000002v0000000009ph5 + - 20250319T070327Z-18477bc996cnwpbrhC1SG1z5r0000000040000000000f9xd x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -384,7 +384,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -393,9 +393,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:53 GMT + - Wed, 19 Mar 2025 07:03:29 GMT etag: - - '"c800de0d-0000-0200-0000-67d9f1000000"' + - '"d6008ea5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -411,7 +411,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 11AF916292B04389844F5459DE40BF1A Ref B: MAA201060513031 Ref C: 2025-03-18T22:17:53Z' + - 'Ref A: A97269FD4DDE41E793AB53076845B700 Ref B: MAA201060513031 Ref C: 2025-03-19T07:03:29Z' status: code: 200 message: OK @@ -427,12 +427,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-24T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-24T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule - for weekly test case","state":"Active","createdDateTime":"2025-03-18T22:17:53.287Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:53.287Z","lastModifiedBy":"hbisht@microsoft.com"}' + for weekly test case","state":"Active","createdDateTime":"2025-03-19T07:03:28.891Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:28.891Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -445,13 +445,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:55 GMT + - Wed, 19 Mar 2025 07:03:31 GMT mise-correlation-id: - - bb86ff8c-1706-43be-b6a1-0489c7480055 + - 4a323dcb-6c56-4281-92a4-6f37ea50f239 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221754Z-18477bc996cclmt4hC1SG1728c00000002wg000000006a60 + - 20250319T070330Z-18477bc996cxk5l8hC1SG1wnx0000000040000000000b3tn x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -474,7 +474,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -483,9 +483,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:55 GMT + - Wed, 19 Mar 2025 07:03:31 GMT etag: - - '"c800de0d-0000-0200-0000-67d9f1000000"' + - '"d6008ea5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -501,7 +501,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: E75FA5133ED04C34B9B4BAB4F93F914A Ref B: MAA201060513039 Ref C: 2025-03-18T22:17:55Z' + - 'Ref A: 8F69346E91EF4AAFA99E13E15BD89640 Ref B: MAA201060514023 Ref C: 2025-03-19T07:03:31Z' status: code: 200 message: OK @@ -517,7 +517,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-monthly-dates @@ -530,15 +530,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:17:56 GMT + - Wed, 19 Mar 2025 07:03:33 GMT mise-correlation-id: - - 41c5ecc3-ce9f-4a32-a927-8a976393ffbc + - 5000b908-81ae-457e-99c7-cf1455a2a1bb strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221756Z-18477bc996c8hpqzhC1SG179ms00000002tg00000000cvch + - 20250319T070332Z-18477bc996c7789nhC1SG1cyf800000003wg00000000rebs x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -551,7 +551,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-dates"], "recurrence": {"frequency": "MonthlyByDates", "interval": 1, "datesInMonth": - [1, 15]}, "startDateTime": "2025-03-18T22:17:05Z", "state": "Active", "displayName": + [1, 15]}, "startDateTime": "2025-03-19T07:02:36Z", "state": "Active", "displayName": "Monthly By Dates Trigger", "description": "Trigger schedule for monthly by dates test case"}' headers: @@ -568,12 +568,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-01T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-01T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger - schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-18T22:17:56.706Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:56.706Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-19T07:03:33.442Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:33.442Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -584,15 +584,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:56 GMT + - Wed, 19 Mar 2025 07:03:33 GMT location: - - https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + - https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview mise-correlation-id: - - eaacfeda-7276-4cd4-9eea-62e965388dc8 + - dbf8f0e7-9009-44cc-b169-055786a14aa3 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221756Z-18477bc996c8hpqzhC1SG179ms00000002tg00000000cvd2 + - 20250319T070333Z-18477bc996c7789nhC1SG1cyf800000003wg00000000reev x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -615,7 +615,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -624,9 +624,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:57 GMT + - Wed, 19 Mar 2025 07:03:33 GMT etag: - - '"c800de0d-0000-0200-0000-67d9f1000000"' + - '"d6008ea5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -642,7 +642,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 13093ADB78194286BECB3D157E216931 Ref B: MAA201060516039 Ref C: 2025-03-18T22:17:57Z' + - 'Ref A: 1EAAE3C290FA4A5EABF2A61B664F2D1D Ref B: MAA201060514021 Ref C: 2025-03-19T07:03:33Z' status: code: 200 message: OK @@ -658,12 +658,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-01T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-01T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger - schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-18T22:17:56.706Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:56.706Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-19T07:03:33.442Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:33.442Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -676,13 +676,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:58 GMT + - Wed, 19 Mar 2025 07:03:35 GMT mise-correlation-id: - - 705f1f75-6ce5-423f-b8e9-cc00303abd9e + - 0b628f78-aa9f-4967-bc8e-8b8372e209ef strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221757Z-18477bc996cqfz4fhC1SG1ugpc00000002z00000000014n1 + - 20250319T070334Z-18477bc996cclmt4hC1SG1728c00000003w000000000uz62 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -705,7 +705,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -714,9 +714,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:58 GMT + - Wed, 19 Mar 2025 07:03:35 GMT etag: - - '"c800de0d-0000-0200-0000-67d9f1000000"' + - '"d6008ea5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -732,7 +732,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 990D54CFB93F458D8604F6CBDA36D906 Ref B: MAA201060513019 Ref C: 2025-03-18T22:17:58Z' + - 'Ref A: F2AC1017628847D9812BF244D1975EE0 Ref B: MAA201060516033 Ref C: 2025-03-19T07:03:35Z' status: code: 200 message: OK @@ -748,7 +748,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-monthly-days @@ -761,15 +761,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:17:59 GMT + - Wed, 19 Mar 2025 07:03:36 GMT mise-correlation-id: - - 93f9f1f1-38a2-45bd-95e5-f6815030d5af + - 5df6f5b8-83f5-4c46-9745-b132518d30d6 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221759Z-18477bc996c8wq9dhC1SG1e2t000000002vg000000007zza + - 20250319T070335Z-18477bc996cf8wxshC1SG1rav400000003vg00000000xs4d x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -782,7 +782,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-days"], "recurrence": {"frequency": "MonthlyByDays", "interval": 1, "weekDaysInMonth": ["Monday"], - "index": 1}, "startDateTime": "2025-03-18T22:17:05Z", "state": "Active", "displayName": + "index": 1}, "startDateTime": "2025-03-19T07:02:36Z", "state": "Active", "displayName": "Monthly By Days Trigger", "description": "Trigger schedule for monthly by days test case"}' headers: @@ -799,12 +799,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger - schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-18T22:18:00.132Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:18:00.132Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-19T07:03:36.771Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:36.771Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -815,15 +815,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:18:00 GMT + - Wed, 19 Mar 2025 07:03:36 GMT location: - - https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + - https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview mise-correlation-id: - - 3a080ba5-7146-4521-82e5-dd148a02ea4b + - e374ea74-2fbc-4377-a061-91dbe309e9de strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221759Z-18477bc996c8wq9dhC1SG1e2t000000002vg000000008015 + - 20250319T070336Z-18477bc996cf8wxshC1SG1rav400000003vg00000000xs87 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -846,7 +846,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -855,9 +855,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:18:00 GMT + - Wed, 19 Mar 2025 07:03:37 GMT etag: - - '"c800de0d-0000-0200-0000-67d9f1000000"' + - '"d6008ea5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -873,7 +873,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 887ED3D00B454AA894315C6165635025 Ref B: MAA201060516039 Ref C: 2025-03-18T22:18:00Z' + - 'Ref A: E29101DB78B7453791A2774E4CE9FF1B Ref B: MAA201060513035 Ref C: 2025-03-19T07:03:37Z' status: code: 200 message: OK @@ -889,12 +889,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger - schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-18T22:18:00.132Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:18:00.132Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-19T07:03:36.771Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:36.771Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -907,13 +907,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:18:02 GMT + - Wed, 19 Mar 2025 07:03:38 GMT mise-correlation-id: - - 97af70cd-26fc-406c-9d33-3448254e894b + - 82aa3d72-5f0a-478e-ba12-a8096603a8cf strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221801Z-18477bc996cnwpbrhC1SG1z5r000000002yg000000004ca3 + - 20250319T070337Z-18477bc996cqfz4fhC1SG1ugpc00000003x000000000qv83 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -936,7 +936,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -945,9 +945,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:18:02 GMT + - Wed, 19 Mar 2025 07:03:38 GMT etag: - - '"c800de0d-0000-0200-0000-67d9f1000000"' + - '"d6008ea5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -963,7 +963,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 866DB710E5B948CD813BFEB980A333D7 Ref B: MAA201060516031 Ref C: 2025-03-18T22:18:02Z' + - 'Ref A: 73F1D38E35E4443FAD8AD1907A525B6A Ref B: MAA201060515051 Ref C: 2025-03-19T07:03:38Z' status: code: 200 message: OK @@ -979,7 +979,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-cron @@ -992,15 +992,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:18:04 GMT + - Wed, 19 Mar 2025 07:03:39 GMT mise-correlation-id: - - a369f4aa-1411-44e6-932a-740d88322b60 + - 7fb2105e-70ac-492c-beba-5513771e6b58 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221803Z-18477bc996c8wq9dhC1SG1e2t000000002u0000000009y5n + - 20250319T070339Z-18477bc996c8wq9dhC1SG1e2t000000003x000000000p4vu x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -1012,7 +1012,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-cron"], "recurrence": - {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-18T22:17:05Z", + {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-19T07:02:36Z", "state": "Active", "displayName": "Cron Trigger", "description": "Trigger schedule for cron test case"}' headers: @@ -1029,13 +1029,13 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Cron","cronExpression":"0 + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Cron","cronExpression":"0 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule - for cron test case","state":"Active","createdDateTime":"2025-03-18T22:18:04.509Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:18:04.509Z","lastModifiedBy":"hbisht@microsoft.com"}' + for cron test case","state":"Active","createdDateTime":"2025-03-19T07:03:39.634Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:39.634Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -1046,15 +1046,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:18:04 GMT + - Wed, 19 Mar 2025 07:03:39 GMT location: - - https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + - https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview mise-correlation-id: - - 116c8ec1-955a-4837-aa54-adcfe9a592ea + - 1c1a3086-8209-4fa9-b9b3-71afaa190132 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221804Z-18477bc996c8wq9dhC1SG1e2t000000002u0000000009y8x + - 20250319T070339Z-18477bc996c8wq9dhC1SG1e2t000000003x000000000p4wk x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -1077,7 +1077,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0240113Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0240113Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1086,9 +1086,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:18:05 GMT + - Wed, 19 Mar 2025 07:03:40 GMT etag: - - '"c800de0d-0000-0200-0000-67d9f1000000"' + - '"d6008ea5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -1104,7 +1104,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 39CFE6EC0CCC4AC5B4DD3D8E0DA50924 Ref B: MAA201060513035 Ref C: 2025-03-18T22:18:04Z' + - 'Ref A: 8E9D95D95E7D4268A2337CB41DC2647B Ref B: MAA201060515027 Ref C: 2025-03-19T07:03:39Z' status: code: 200 message: OK @@ -1120,13 +1120,13 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://d1cc89e8-bf3d-4eb1-8dab-5b4197cdfe82.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Cron","cronExpression":"0 + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Cron","cronExpression":"0 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule - for cron test case","state":"Active","createdDateTime":"2025-03-18T22:18:04.509Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:18:04.509Z","lastModifiedBy":"hbisht@microsoft.com"}' + for cron test case","state":"Active","createdDateTime":"2025-03-19T07:03:39.634Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:39.634Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -1139,13 +1139,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:18:06 GMT + - Wed, 19 Mar 2025 07:03:41 GMT mise-correlation-id: - - d83fbeda-a0b8-4368-a812-f33146655eb7 + - b53a1968-7267-4fa5-8708-f27e94b39366 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221805Z-18477bc996cc8zfdhC1SG1065w00000002sg00000000d8xg + - 20250319T070340Z-18477bc996cclmt4hC1SG1728c00000003y000000000meud x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml b/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml index c395ae0a818..7b63988d421 100644 --- a/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml @@ -14,18 +14,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.188296Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.188296Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6760596Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6760596Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '663' + - '665' content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:48 GMT + - Wed, 19 Mar 2025 07:03:49 GMT etag: - - '"c800e20d-0000-0200-0000-67d9f1000000"' + - '"d600f4a5-0000-0200-0000-67da6c380000"' expires: - '-1' pragma: @@ -39,9 +39,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16497' + - '16499' x-msedge-ref: - - 'Ref A: 8CE3A56920704930BFD5B6F6D76936D8 Ref B: MAA201060514019 Ref C: 2025-03-18T22:17:47Z' + - 'Ref A: D4D71726FED34054BE0D582DE27393E1 Ref B: MAA201060513029 Ref C: 2025-03-19T07:03:49Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-daily-trigger?api-version=2024-12-01-preview + uri: https://70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-daily-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-daily-trigger @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:17:49 GMT + - Wed, 19 Mar 2025 07:03:50 GMT mise-correlation-id: - - 8ad5ce51-c923-42c1-8a37-d6d0d79c001f + - ffb49335-9dd6-4797-81ab-12e9a983fac7 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221748Z-18477bc996cmrxbmhC1SG1uv1g00000002wg000000006kh9 + - 20250319T070349Z-18477bc996crszl4hC1SG168uc00000003z000000000du3k x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -103,18 +103,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.188296Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.188296Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6760596Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6760596Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '663' + - '665' content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:50 GMT + - Wed, 19 Mar 2025 07:03:50 GMT etag: - - '"c800e20d-0000-0200-0000-67d9f1000000"' + - '"d600f4a5-0000-0200-0000-67da6c380000"' expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: C7957F4A80D840648CE23EBD0D16F9E7 Ref B: MAA201060515023 Ref C: 2025-03-18T22:17:49Z' + - 'Ref A: FAE85FD04CC04634870B5B08A3A242B9 Ref B: MAA201060513011 Ref C: 2025-03-19T07:03:50Z' status: code: 200 message: OK @@ -146,7 +146,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-weekly-trigger?api-version=2024-12-01-preview + uri: https://70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-weekly-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-weekly-trigger @@ -159,15 +159,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:17:51 GMT + - Wed, 19 Mar 2025 07:03:53 GMT mise-correlation-id: - - 814b0fd1-c24e-443f-8c94-8cd6a4af4d66 + - 163f3d00-38b2-48f4-a04b-e481f5b3076d strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221750Z-18477bc996cf8wxshC1SG1rav400000002x0000000005pda + - 20250319T070352Z-18477bc996c8769chC1SG17fqs00000003zg00000000crwt x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -192,18 +192,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.188296Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.188296Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6760596Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6760596Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '663' + - '665' content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:52 GMT + - Wed, 19 Mar 2025 07:03:53 GMT etag: - - '"c800e20d-0000-0200-0000-67d9f1000000"' + - '"d600f4a5-0000-0200-0000-67da6c380000"' expires: - '-1' pragma: @@ -219,7 +219,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: B19D133B2B4240EAA13E0A0340EED41A Ref B: MAA201060516049 Ref C: 2025-03-18T22:17:51Z' + - 'Ref A: 0F34D9CF5C3E49D1B32F0172B030F989 Ref B: MAA201060516047 Ref C: 2025-03-19T07:03:53Z' status: code: 200 message: OK @@ -235,7 +235,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-dates-trigger?api-version=2024-12-01-preview + uri: https://70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-dates-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-monthly-dates-trigger @@ -248,15 +248,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:17:53 GMT + - Wed, 19 Mar 2025 07:03:54 GMT mise-correlation-id: - - 43fb3eec-f774-4f66-b81a-becebb6fbcbc + - a89894bd-8007-4cb1-8963-b3f2ebe9a156 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221753Z-18477bc996cmrxbmhC1SG1uv1g00000002x0000000005e7z + - 20250319T070353Z-r1bf87c6457wp5w4hC1SG1u5yc0000000dh0000000003s7r x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -281,18 +281,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.188296Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.188296Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6760596Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6760596Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '663' + - '665' content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:54 GMT + - Wed, 19 Mar 2025 07:03:54 GMT etag: - - '"c800e20d-0000-0200-0000-67d9f1000000"' + - '"d600f4a5-0000-0200-0000-67da6c380000"' expires: - '-1' pragma: @@ -308,7 +308,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: FE76706049F2470E8EC4F6C595901841 Ref B: MAA201060516039 Ref C: 2025-03-18T22:17:53Z' + - 'Ref A: EF516EC5F4D54EC18253349B5A87A8AC Ref B: MAA201060514053 Ref C: 2025-03-19T07:03:54Z' status: code: 200 message: OK @@ -324,7 +324,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-days-trigger?api-version=2024-12-01-preview + uri: https://70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-days-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-monthly-days-trigger @@ -337,15 +337,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:17:56 GMT + - Wed, 19 Mar 2025 07:03:55 GMT mise-correlation-id: - - ecc316bb-6fed-4032-9285-d77a3057b409 + - 96822723-b9d0-4029-a423-8af784d72b12 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221754Z-18477bc996ccts7chC1SG1v4mc00000002vg0000000093m4 + - 20250319T070355Z-r1bf87c6457xz99vhC1SG1adaw0000000ckg00000000frpx x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -370,18 +370,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.188296Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.188296Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6760596Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6760596Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '663' + - '665' content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:57 GMT + - Wed, 19 Mar 2025 07:03:56 GMT etag: - - '"c800e20d-0000-0200-0000-67d9f1000000"' + - '"d600f4a5-0000-0200-0000-67da6c380000"' expires: - '-1' pragma: @@ -397,7 +397,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: B3AB055E56F543BA92F8259B0D34FC0E Ref B: MAA201060516039 Ref C: 2025-03-18T22:17:56Z' + - 'Ref A: 1C1EDC643A7F4B75A0C6A89F40FE362B Ref B: MAA201060514019 Ref C: 2025-03-19T07:03:55Z' status: code: 200 message: OK @@ -413,7 +413,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://8712e2be-45cd-4a5d-bcce-22210c14cad0.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-cron-trigger?api-version=2024-12-01-preview + uri: https://70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-cron-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-cron-trigger @@ -426,15 +426,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:17:58 GMT + - Wed, 19 Mar 2025 07:03:57 GMT mise-correlation-id: - - d9a13943-c8d1-42be-a01d-2bcb69196548 + - 5d945842-995e-46c1-b4af-316cfee0e716 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221758Z-18477bc996cclmt4hC1SG1728c00000002yg000000002bws + - 20250319T070356Z-r1bf87c64574hs45hC1SG1nrp0000000036g00000000b7qb x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml index cc67b243619..b0ad3a5b79f 100644 --- a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0435499Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0435499Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.3719874Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.3719874Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:47 GMT + - Wed, 19 Mar 2025 07:03:19 GMT etag: - - '"c800d00d-0000-0200-0000-67d9f0ff0000"' + - '"d60079a5-0000-0200-0000-67da6c2c0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 27E246C0FF654FB6A610EA878BF0D8F0 Ref B: MAA201060514023 Ref C: 2025-03-18T22:17:46Z' + - 'Ref A: C46A5C0A670C4540B2F60572215E547B Ref B: MAA201060515017 Ref C: 2025-03-19T07:03:19Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-delete @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:17:47 GMT + - Wed, 19 Mar 2025 07:03:20 GMT mise-correlation-id: - - 90897f66-8b3a-47f2-8c34-75acdf672354 + - 943b61ef-e690-4ecf-8a2d-2df180a84dbd strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221747Z-18477bc996cxk5l8hC1SG1wnx000000002wg0000000078ds + - 20250319T070320Z-r1bf87c6457xz99vhC1SG1adaw0000000ckg00000000fn90 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-delete"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-18T22:17:05Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T07:02:36Z", "state": "Active", "displayName": "Delete Trigger", "description": "Trigger schedule for delete test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Delete + string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Delete Trigger","triggerId":"test-trigger-id-delete","description":"Trigger schedule - for delete test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.153Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.153Z","lastModifiedBy":"hbisht@microsoft.com"}' + for delete test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.017Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.017Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:48 GMT + - Wed, 19 Mar 2025 07:03:21 GMT location: - - https://63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + - https://089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview mise-correlation-id: - - 64e370d6-7363-4000-96f4-016c32a162df + - 3e66dc95-f6a8-4094-8c07-40bfa2f12aa3 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221747Z-18477bc996cxk5l8hC1SG1wnx000000002wg0000000078f9 + - 20250319T070320Z-r1bf87c6457xz99vhC1SG1adaw0000000ckg00000000fnav x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0435499Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0435499Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.3719874Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.3719874Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:49 GMT + - Wed, 19 Mar 2025 07:03:21 GMT etag: - - '"c800d00d-0000-0200-0000-67d9f0ff0000"' + - '"d60079a5-0000-0200-0000-67da6c2c0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 6A6CA28344474EFE8448454A6D6AAB6F Ref B: MAA201060515045 Ref C: 2025-03-18T22:17:48Z' + - 'Ref A: 72FFF94B7BC74803AE616B640340189F Ref B: MAA201060515029 Ref C: 2025-03-19T07:03:21Z' status: code: 200 message: OK @@ -199,7 +199,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: DELETE - uri: https://63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: string: '' @@ -209,13 +209,13 @@ interactions: connection: - keep-alive date: - - Tue, 18 Mar 2025 22:17:50 GMT + - Wed, 19 Mar 2025 07:03:22 GMT mise-correlation-id: - - ba4e5bb4-49be-40b0-93f9-c43750db877d + - 7193ef27-77c6-41c7-9e34-c274b781fdd7 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221749Z-18477bc996c7789nhC1SG1cyf800000002t000000000bp76 + - 20250319T070321Z-r1bf87c64576dw6dhC1SG1v4b40000000cy0000000006d3a x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -238,7 +238,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.0435499Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.0435499Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.3719874Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.3719874Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -247,9 +247,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:50 GMT + - Wed, 19 Mar 2025 07:03:22 GMT etag: - - '"c800d00d-0000-0200-0000-67d9f0ff0000"' + - '"d60079a5-0000-0200-0000-67da6c2c0000"' expires: - '-1' pragma: @@ -265,7 +265,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: DA67514BF11D43E38E4C2F074F00154A Ref B: MAA201060516011 Ref C: 2025-03-18T22:17:50Z' + - 'Ref A: B168BF55D7D844F49ED01BE6DDE908B7 Ref B: MAA201060516009 Ref C: 2025-03-19T07:03:22Z' status: code: 200 message: OK @@ -281,7 +281,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://63b06e91-98e1-48a3-9f51-c4c6c13107a3.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: string: '{"value":[]}' @@ -297,13 +297,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:52 GMT + - Wed, 19 Mar 2025 07:03:24 GMT mise-correlation-id: - - 40b10c7f-6042-42ff-aa7b-8a628964a72e + - 1249f199-3357-4484-87aa-5852cba872bb strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221751Z-18477bc996c8hpqzhC1SG179ms00000002tg00000000cv1f + - 20250319T070323Z-r1bf87c6457vffrjhC1SG1wcus0000000ah0000000000w94 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml index 0391a69836d..3d33e32839c 100644 --- a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:12.9935199Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:12.9935199Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.5665384Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.5665384Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:46 GMT + - Wed, 19 Mar 2025 07:03:19 GMT etag: - - '"c800f00d-0000-0200-0000-67d9f1010000"' + - '"d60084a5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: A502355040DA448AB657BCAFA3821961 Ref B: MAA201060513029 Ref C: 2025-03-18T22:17:46Z' + - 'Ref A: 1D6737D751CC45E3B8FF7F308BBA4939 Ref B: MAA201060516017 Ref C: 2025-03-19T07:03:18Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-enable @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:17:47 GMT + - Wed, 19 Mar 2025 07:03:21 GMT mise-correlation-id: - - de8b1111-1d80-4ce5-8dc5-9b412d145bca + - 2013c6d3-cfc7-4681-bcff-7e616372e4ea strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221746Z-18477bc996c8769chC1SG17fqs00000002sg00000000drpp + - 20250319T070320Z-r1bf87c6457mxg5mhC1SG1uyvs00000007pg00000000e6ah x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-enable"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-18T22:17:05Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T07:02:36Z", "state": "Active", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-18T22:17:47.924Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:47.924Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.302Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:48 GMT + - Wed, 19 Mar 2025 07:03:21 GMT location: - - https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + - https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview mise-correlation-id: - - e5a1109b-d3c8-454d-a0bf-fbefa0bf7b1c + - 9e629cbb-36dc-41ba-a3a6-c504c6a2203e strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221747Z-18477bc996c8769chC1SG17fqs00000002sg00000000druv + - 20250319T070321Z-r1bf87c6457mxg5mhC1SG1uyvs00000007pg00000000e6cq x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:12.9935199Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:12.9935199Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.5665384Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.5665384Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:48 GMT + - Wed, 19 Mar 2025 07:03:22 GMT etag: - - '"c800f00d-0000-0200-0000-67d9f1010000"' + - '"d60084a5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: FDCCB8B4F3FC49B68117263510E2CC7E Ref B: MAA201060514049 Ref C: 2025-03-18T22:17:48Z' + - 'Ref A: 6179468BFAD9422688177D1DBE453AB6 Ref B: MAA201060513025 Ref C: 2025-03-19T07:03:21Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-18T22:17:47.924Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:47.924Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.302Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:49 GMT + - Wed, 19 Mar 2025 07:03:23 GMT mise-correlation-id: - - 8c52a781-9ebd-400c-859c-147447ebacf9 + - 77e68ca1-471a-4628-8011-3a2328da675e strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221748Z-18477bc996c8769chC1SG17fqs00000002z00000000018hb + - 20250319T070322Z-r1bf87c6457x2s2thC1SG1gfrg0000000c9000000000147a x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -230,7 +230,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-18T22:17:05Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-19T07:02:36Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case", "state": "Paused"}' @@ -248,12 +248,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Paused","createdDateTime":"2025-03-18T22:17:47.924Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:49.625Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Paused","createdDateTime":"2025-03-19T07:03:21.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:23.498Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -266,13 +266,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:49 GMT + - Wed, 19 Mar 2025 07:03:23 GMT mise-correlation-id: - - 7043bd24-7cd6-4db7-a7ae-766920d8c340 + - 6a3005ff-0faa-42e4-9e2d-fe5472346176 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221749Z-18477bc996c8769chC1SG17fqs00000002z00000000018kp + - 20250319T070323Z-r1bf87c6457x2s2thC1SG1gfrg0000000c90000000001494 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -295,7 +295,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:12.9935199Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:12.9935199Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.5665384Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.5665384Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -304,9 +304,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:49 GMT + - Wed, 19 Mar 2025 07:03:23 GMT etag: - - '"c800f00d-0000-0200-0000-67d9f1010000"' + - '"d60084a5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -320,9 +320,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: 5DE3F66372044DF692E9019680C0B7DC Ref B: MAA201060513011 Ref C: 2025-03-18T22:17:49Z' + - 'Ref A: ABF46B99923D40C5B2774EE9DD17B60C Ref B: MAA201060513039 Ref C: 2025-03-19T07:03:23Z' status: code: 200 message: OK @@ -338,12 +338,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Paused","createdDateTime":"2025-03-18T22:17:47.924Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:49.625Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Paused","createdDateTime":"2025-03-19T07:03:21.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:23.498Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -356,13 +356,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:51 GMT + - Wed, 19 Mar 2025 07:03:25 GMT mise-correlation-id: - - e972cdef-eaba-4066-82de-6003e2652000 + - c6a49a7c-4144-438d-9bb9-c2a1e1881a5a strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221750Z-18477bc996cnh8rkhC1SG103f800000002xg000000004dap + - 20250319T070324Z-18477bc996c8769chC1SG17fqs0000000420000000002f6s x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -371,7 +371,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-18T22:17:05Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-19T07:02:36Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case", "state": "Active"}' @@ -389,12 +389,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-18T22:17:47.924Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:51.455Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:25.243Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -407,13 +407,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:51 GMT + - Wed, 19 Mar 2025 07:03:25 GMT mise-correlation-id: - - 51943019-3bdd-4e88-bd41-c55c84dba86f + - a57743cc-314e-423d-83f7-7a7b4ae0cd5d strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221751Z-18477bc996cnh8rkhC1SG103f800000002xg000000004dbp + - 20250319T070325Z-18477bc996c8769chC1SG17fqs0000000420000000002f8z x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -436,7 +436,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:12.9935199Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:12.9935199Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.5665384Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.5665384Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -445,9 +445,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:52 GMT + - Wed, 19 Mar 2025 07:03:25 GMT etag: - - '"c800f00d-0000-0200-0000-67d9f1010000"' + - '"d60084a5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -461,9 +461,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: DCC861A2DD6A4447A2FE626344447667 Ref B: MAA201060514019 Ref C: 2025-03-18T22:17:51Z' + - 'Ref A: 23A4474CC32F4C74AF9E8F83D6E57D6D Ref B: MAA201060514017 Ref C: 2025-03-19T07:03:25Z' status: code: 200 message: OK @@ -479,12 +479,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://69e1945e-f997-45ab-bb33-ed4c2792980f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-18T22:17:47.924Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:51.455Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:25.243Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -497,13 +497,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:53 GMT + - Wed, 19 Mar 2025 07:03:27 GMT mise-correlation-id: - - 2c8a7961-bbd6-40e5-8d4d-b0e123ad8603 + - 371909ca-b0c9-478d-b527-8af80317c3b6 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221752Z-18477bc996cxk5l8hC1SG1wnx000000002s000000000fbby + - 20250319T070326Z-18477bc996cwsj7whC1SG1ee1c000000040000000000awkb x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml index 556824381e4..ca515cd60a9 100644 --- a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:11.9162856Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:11.9162856Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"457fedcd-03e5-4a61-a8ce-96904d13fade.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:44.5607408Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:44.5607408Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"643da6fe-6759-483b-a651-ca44285d217a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:46 GMT + - Wed, 19 Mar 2025 07:03:18 GMT etag: - - '"c800b70d-0000-0200-0000-67d9f0fe0000"' + - '"d60066a5-0000-0200-0000-67da6c2b0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: E2369B84DCC14CF4927228587F7BA09E Ref B: MAA201060515019 Ref C: 2025-03-18T22:17:46Z' + - 'Ref A: 04B4110186684235841A644C7A240A33 Ref B: MAA201060513031 Ref C: 2025-03-19T07:03:19Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://457fedcd-03e5-4a61-a8ce-96904d13fade.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + uri: https://643da6fe-6759-483b-a651-ca44285d217a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-list @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:17:48 GMT + - Wed, 19 Mar 2025 07:03:20 GMT mise-correlation-id: - - 7730a586-555f-4247-bbba-83d95791f453 + - dd1a44cb-4b6f-4ed1-bc65-6b8a18d35bab strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221747Z-18477bc996cf8wxshC1SG1rav400000002ug00000000ah79 + - 20250319T070320Z-r1bf87c64574hs45hC1SG1nrp0000000036g00000000b45n x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-list"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-18T22:17:05Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T07:02:36Z", "state": "Active", "displayName": "List Trigger", "description": "Trigger schedule for list test case"}' headers: @@ -107,31 +107,31 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://457fedcd-03e5-4a61-a8ce-96904d13fade.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + uri: https://643da6fe-6759-483b-a651-ca44285d217a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"List Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule - for list test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.592Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.592Z","lastModifiedBy":"hbisht@microsoft.com"}' + for list test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.05Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.05Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '519' + - '517' content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:48 GMT + - Wed, 19 Mar 2025 07:03:21 GMT location: - - https://457fedcd-03e5-4a61-a8ce-96904d13fade.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + - https://643da6fe-6759-483b-a651-ca44285d217a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview mise-correlation-id: - - aae6720f-3dcd-411d-bc20-2f2456789ed4 + - 1b1589b9-2c10-4856-9d40-63db2bf51dfb strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221748Z-18477bc996cf8wxshC1SG1rav400000002ug00000000ah9b + - 20250319T070320Z-r1bf87c64574hs45hC1SG1nrp0000000036g00000000b46y x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:11.9162856Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:11.9162856Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"457fedcd-03e5-4a61-a8ce-96904d13fade.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:44.5607408Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:44.5607408Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"643da6fe-6759-483b-a651-ca44285d217a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:49 GMT + - Wed, 19 Mar 2025 07:03:22 GMT etag: - - '"c800b70d-0000-0200-0000-67d9f0fe0000"' + - '"d60066a5-0000-0200-0000-67da6c2b0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: EFCAFE14498D4E2091261964933A5233 Ref B: MAA201060514037 Ref C: 2025-03-18T22:17:48Z' + - 'Ref A: D8EDB87D3E054733AEA94F00253B230D Ref B: MAA201060516053 Ref C: 2025-03-19T07:03:21Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://457fedcd-03e5-4a61-a8ce-96904d13fade.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://643da6fe-6759-483b-a651-ca44285d217a.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: - string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"List Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule - for list test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.592Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.592Z","lastModifiedBy":"hbisht@microsoft.com"}]}' + for list test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.05Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.05Z","lastModifiedBy":"hbisht@microsoft.com"}]}' headers: accept-ranges: - bytes @@ -211,17 +211,17 @@ interactions: connection: - keep-alive content-length: - - '531' + - '529' content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:50 GMT + - Wed, 19 Mar 2025 07:03:23 GMT mise-correlation-id: - - 6be65ede-7935-4baf-a012-63658fe4c8c6 + - 9bb89f10-e85d-4903-af52-88a895e8792d strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221749Z-18477bc996cqfz4fhC1SG1ugpc00000002s000000000em1y + - 20250319T070322Z-r1bf87c6457p4r7jhC1SG1k05g0000000da0000000005sgp x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml index de51fdebf05..8592f63b09c 100644 --- a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.2507936Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.2507936Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.5571237Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.5571237Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:46 GMT + - Wed, 19 Mar 2025 07:03:18 GMT etag: - - '"c800c80d-0000-0200-0000-67d9f0ff0000"' + - '"d6006ca5-0000-0200-0000-67da6c2b0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 5139A397B4AE492E89B74012266EE129 Ref B: MAA201060515021 Ref C: 2025-03-18T22:17:45Z' + - 'Ref A: F7B4E281F89846DDB4A71A34DBC206DC Ref B: MAA201060513049 Ref C: 2025-03-19T07:03:19Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-pause @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:17:47 GMT + - Wed, 19 Mar 2025 07:03:20 GMT mise-correlation-id: - - 09cf0aa1-f8d5-49dd-ae36-9edfdd1fc0ca + - d5d2bdd8-e8a2-4b84-aabc-367eccf5d355 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221746Z-18477bc996cc8zfdhC1SG1065w00000002sg00000000d7f4 + - 20250319T070319Z-r1bf87c6457wp5w4hC1SG1u5yc0000000dh0000000003p33 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-pause"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-18T22:17:05Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T07:02:36Z", "state": "Active", "displayName": "Pause Trigger", "description": "Trigger schedule for pause test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Active","createdDateTime":"2025-03-18T22:17:47.745Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:47.745Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Active","createdDateTime":"2025-03-19T07:03:20.889Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:20.889Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:47 GMT + - Wed, 19 Mar 2025 07:03:21 GMT location: - - https://596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + - https://92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview mise-correlation-id: - - 2f349a92-c103-4e82-8af3-e5f435938b05 + - b25146dc-e2c4-4f28-b423-f87b1c99e1fd strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221747Z-18477bc996cc8zfdhC1SG1065w00000002sg00000000d7gr + - 20250319T070320Z-r1bf87c6457wp5w4hC1SG1u5yc0000000dh0000000003p58 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.2507936Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.2507936Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.5571237Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.5571237Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:48 GMT + - Wed, 19 Mar 2025 07:03:21 GMT etag: - - '"c800c80d-0000-0200-0000-67d9f0ff0000"' + - '"d6006ca5-0000-0200-0000-67da6c2b0000"' expires: - '-1' pragma: @@ -179,9 +179,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: D97D82719C96451F966D3C2264FF0E80 Ref B: MAA201060516031 Ref C: 2025-03-18T22:17:48Z' + - 'Ref A: 079468EDA3D44300B3261EAFEDC25B37 Ref B: MAA201060516045 Ref C: 2025-03-19T07:03:21Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Active","createdDateTime":"2025-03-18T22:17:47.745Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:47.745Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Active","createdDateTime":"2025-03-19T07:03:20.889Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:20.889Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:49 GMT + - Wed, 19 Mar 2025 07:03:22 GMT mise-correlation-id: - - 22e4dc20-9b70-4941-8683-1c09cb5f333a + - bf7defc8-5e61-496d-b58c-49586ff7bd38 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221749Z-18477bc996cpf7dhhC1SG1fbe400000002sg00000000btcy + - 20250319T070321Z-r1bf87c6457xz99vhC1SG1adaw0000000ct00000000037bz x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -230,7 +230,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-18T22:17:05Z", + body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-19T07:02:36Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Pause Trigger", "description": "Trigger schedule for pause test case", "state": "Paused"}' @@ -248,12 +248,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Paused","createdDateTime":"2025-03-18T22:17:47.745Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:50.063Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Paused","createdDateTime":"2025-03-19T07:03:20.889Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:22.615Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -266,13 +266,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:50 GMT + - Wed, 19 Mar 2025 07:03:22 GMT mise-correlation-id: - - 45892691-603b-460d-91d7-8456f4f8c6e1 + - 202a98b6-03da-431a-9904-e2dc98c358e5 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221749Z-18477bc996cpf7dhhC1SG1fbe400000002sg00000000btdr + - 20250319T070322Z-r1bf87c6457xz99vhC1SG1adaw0000000ct00000000037dp x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -295,7 +295,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:13.2507936Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:13.2507936Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.5571237Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.5571237Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -304,9 +304,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:50 GMT + - Wed, 19 Mar 2025 07:03:23 GMT etag: - - '"c800c80d-0000-0200-0000-67d9f0ff0000"' + - '"d6006ca5-0000-0200-0000-67da6c2b0000"' expires: - '-1' pragma: @@ -322,7 +322,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: D5B3F719C4F04378A052E72DC2B9DE2F Ref B: MAA201060516019 Ref C: 2025-03-18T22:17:50Z' + - 'Ref A: 21EBA81F277741F3A7AD53442DF77EE4 Ref B: MAA201060514031 Ref C: 2025-03-19T07:03:22Z' status: code: 200 message: OK @@ -338,12 +338,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://596a21a2-6fab-4d0b-930c-bd397c3ba9f0.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Paused","createdDateTime":"2025-03-18T22:17:47.745Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:50.063Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Paused","createdDateTime":"2025-03-19T07:03:20.889Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:22.615Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -356,13 +356,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:52 GMT + - Wed, 19 Mar 2025 07:03:24 GMT mise-correlation-id: - - f0d833ed-fef8-4eeb-8f01-21fc3306a5df + - 62fde95e-4991-494f-85de-ecb03a366f65 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221751Z-18477bc996clttsthC1SG10a4s00000002w0000000007and + - 20250319T070324Z-r1bf87c6457kvxfvhC1SG1v5ec0000000bn000000000cydt x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml index 8d98932ebab..c9e97b58b01 100644 --- a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml @@ -14,18 +14,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.2532996Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.2532996Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0c35ed1c-f4bc-497d-a640-899f51d8133a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.585053Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.585053Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"29eea606-0b61-4183-929d-de3dcf6e039f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '665' + - '663' content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:48 GMT + - Wed, 19 Mar 2025 07:03:18 GMT etag: - - '"c800180e-0000-0200-0000-67d9f1030000"' + - '"d60089a5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 0989F10F97894A39B2B19ABF74768ED6 Ref B: MAA201060516011 Ref C: 2025-03-18T22:17:48Z' + - 'Ref A: 2A2A6A95B78343A7A964F5D0D5A4F366 Ref B: MAA201060514023 Ref C: 2025-03-19T07:03:19Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://0c35ed1c-f4bc-497d-a640-899f51d8133a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://29eea606-0b61-4183-929d-de3dcf6e039f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-update @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:17:49 GMT + - Wed, 19 Mar 2025 07:03:20 GMT mise-correlation-id: - - 3f785483-9d3f-4c3a-8a97-5652e30c3382 + - 3c2310fd-d28e-4567-8f74-dc0f19d72e0b strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221749Z-18477bc996chwsz5hC1SG1mqb800000002zg00000000090x + - 20250319T070320Z-18477bc996c8wq9dhC1SG1e2t000000003x000000000p1v2 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-18T22:17:05Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T07:02:36Z", "state": "Active", "displayName": "Update Trigger", "description": "Trigger schedule for update test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://0c35ed1c-f4bc-497d-a640-899f51d8133a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://29eea606-0b61-4183-929d-de3dcf6e039f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:50.109Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:50.109Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:20.926Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:20.926Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:50 GMT + - Wed, 19 Mar 2025 07:03:21 GMT location: - - https://0c35ed1c-f4bc-497d-a640-899f51d8133a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + - https://29eea606-0b61-4183-929d-de3dcf6e039f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview mise-correlation-id: - - eaa520ab-fa84-48af-a27e-ed5c3c34b6d5 + - d5b13fc0-3736-47fa-88e8-46309234a0a6 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221749Z-18477bc996chwsz5hC1SG1mqb800000002zg000000000920 + - 20250319T070320Z-18477bc996c8wq9dhC1SG1e2t000000003x000000000p1yn x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,18 +154,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.2532996Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.2532996Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"0c35ed1c-f4bc-497d-a640-899f51d8133a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.585053Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.585053Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"29eea606-0b61-4183-929d-de3dcf6e039f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '665' + - '663' content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:50 GMT + - Wed, 19 Mar 2025 07:03:21 GMT etag: - - '"c800180e-0000-0200-0000-67d9f1030000"' + - '"d60089a5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -179,9 +179,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: 69C36F9E8108427E9BA59F230950FFB8 Ref B: MAA201060514011 Ref C: 2025-03-18T22:17:50Z' + - 'Ref A: 573267E6EA2C4B8AA6D6C00B2A05FFE3 Ref B: MAA201060513045 Ref C: 2025-03-19T07:03:21Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://0c35ed1c-f4bc-497d-a640-899f51d8133a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://29eea606-0b61-4183-929d-de3dcf6e039f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:50.109Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:50.109Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:20.926Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:20.926Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:52 GMT + - Wed, 19 Mar 2025 07:03:23 GMT mise-correlation-id: - - 50538d3e-f7a5-4f78-9110-847bd35ddc04 + - b0598c71-a536-4af2-a34a-7b4ec54405ef strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221751Z-18477bc996cmrxbmhC1SG1uv1g00000002yg00000000251z + - 20250319T070322Z-18477bc996cclmt4hC1SG1728c00000003y000000000mbup x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -232,7 +232,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": {"frequency": "Weekly", "interval": 1, "daysOfWeek": ["Monday"]}, "startDateTime": - "2025-03-18T22:17:05Z", "displayName": "Update Trigger", "description": "Trigger + "2025-03-19T07:02:36Z", "displayName": "Update Trigger", "description": "Trigger schedule for update test case", "state": "Active"}' headers: Accept: @@ -248,12 +248,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://0c35ed1c-f4bc-497d-a640-899f51d8133a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://29eea606-0b61-4183-929d-de3dcf6e039f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-24T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-24T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:50.109Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:52.199Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:20.926Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:23.521Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -266,13 +266,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:52 GMT + - Wed, 19 Mar 2025 07:03:23 GMT mise-correlation-id: - - b5b9e868-f4ec-49ee-8dbd-363f30f00c01 + - 32c263b0-4213-4723-9ae0-c5318f4eca77 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221752Z-18477bc996cmrxbmhC1SG1uv1g00000002yg00000000254h + - 20250319T070323Z-18477bc996cclmt4hC1SG1728c00000003y000000000mbyy x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml index d60a8afb398..4c0361159fc 100644 --- a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.5379575Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.5379575Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.9973835Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.9973835Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:47 GMT + - Wed, 19 Mar 2025 07:03:19 GMT etag: - - '"c800e00d-0000-0200-0000-67d9f1000000"' + - '"d60087a5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -39,9 +39,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: 1A4139B70EC5414EAD375B9A0D3FF336 Ref B: MAA201060516019 Ref C: 2025-03-18T22:17:47Z' + - 'Ref A: A614B8AC68CC4E77A944ED1ACA02917B Ref B: MAA201060513027 Ref C: 2025-03-19T07:03:19Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: update-invalid-trigger @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Tue, 18 Mar 2025 22:17:48 GMT + - Wed, 19 Mar 2025 07:03:21 GMT mise-correlation-id: - - 609f513b-844b-4ad7-a140-25f813b44b96 + - 94fa09aa-6163-4eaa-94ca-d2a681671251 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250318T221748Z-18477bc996cwsj7whC1SG1ee1c00000002u000000000aydn + - 20250319T070320Z-18477bc996crszl4hC1SG168uc00000003z000000000dqcd x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-18T22:17:05Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T07:02:36Z", "state": "Active", "displayName": "Update Trigger", "description": "Trigger schedule for update test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.886Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.886Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.274Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.274Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:49 GMT + - Wed, 19 Mar 2025 07:03:21 GMT location: - - https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + - https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview mise-correlation-id: - - e7957f09-7ebf-4fcd-a002-a692fa2b4db1 + - 44cda280-7b0a-4d9a-97a1-e3424ca4f9ed strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221748Z-18477bc996cwsj7whC1SG1ee1c00000002u000000000ayf2 + - 20250319T070321Z-18477bc996crszl4hC1SG168uc00000003z000000000dqfc x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.5379575Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.5379575Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.9973835Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.9973835Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:49 GMT + - Wed, 19 Mar 2025 07:03:21 GMT etag: - - '"c800e00d-0000-0200-0000-67d9f1000000"' + - '"d60087a5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 9E4466614CCA47239ADF1D43F5647549 Ref B: MAA201060514009 Ref C: 2025-03-18T22:17:49Z' + - 'Ref A: C54F63F86EA144A8BE11C9AA6A24DB37 Ref B: MAA201060513011 Ref C: 2025-03-19T07:03:21Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.886Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.886Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.274Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.274Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:50 GMT + - Wed, 19 Mar 2025 07:03:23 GMT mise-correlation-id: - - 5d519c3d-15e7-4a94-a80b-5f9518e3dd19 + - a0e7c111-1925-49b1-a807-8a6bfba412e9 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221749Z-18477bc996cnh8rkhC1SG103f800000002yg000000002b9c + - 20250319T070322Z-18477bc996c8769chC1SG17fqs00000003zg00000000cmyf x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -244,7 +244,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.5379575Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.5379575Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.9973835Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.9973835Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -253,9 +253,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:51 GMT + - Wed, 19 Mar 2025 07:03:24 GMT etag: - - '"c800e00d-0000-0200-0000-67d9f1000000"' + - '"d60087a5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -271,7 +271,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 796E9788367743F7ACA08C7C0730FF4F Ref B: MAA201060513021 Ref C: 2025-03-18T22:17:50Z' + - 'Ref A: 68DC2D6143494192AE17D534148BA16F Ref B: MAA201060515027 Ref C: 2025-03-19T07:03:23Z' status: code: 200 message: OK @@ -287,12 +287,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.886Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.886Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.274Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.274Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -305,13 +305,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:52 GMT + - Wed, 19 Mar 2025 07:03:25 GMT mise-correlation-id: - - 9a888722-2cf4-4ffe-8c20-7d57fef9465f + - 4dcc3122-13db-42b2-a966-1840d15d072b strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221751Z-18477bc996cwsj7whC1SG1ee1c00000002vg0000000082dd + - 20250319T070324Z-18477bc996cqfz4fhC1SG1ugpc00000003wg00000000ru4u x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -334,7 +334,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.5379575Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.5379575Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.9973835Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.9973835Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -343,9 +343,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:53 GMT + - Wed, 19 Mar 2025 07:03:26 GMT etag: - - '"c800e00d-0000-0200-0000-67d9f1000000"' + - '"d60087a5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -361,7 +361,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 8C4336280C394D72A5DDC094025C5F0E Ref B: MAA201060513021 Ref C: 2025-03-18T22:17:52Z' + - 'Ref A: 2D48C4592A9F4294A9B825F50FEB5D90 Ref B: MAA201060515025 Ref C: 2025-03-19T07:03:25Z' status: code: 200 message: OK @@ -377,12 +377,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.886Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.886Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.274Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.274Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -395,13 +395,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:54 GMT + - Wed, 19 Mar 2025 07:03:27 GMT mise-correlation-id: - - 2fa3f815-2f6e-4cf4-87fc-bad7685837c6 + - 5e3fbaae-e1ef-4cde-84f0-9531c41f2670 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221753Z-18477bc996cmrxbmhC1SG1uv1g00000002xg000000004nny + - 20250319T070326Z-18477bc996cpf7dhhC1SG1fbe4000000042g000000000hmf x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -424,7 +424,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.5379575Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.5379575Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.9973835Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.9973835Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -433,9 +433,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:54 GMT + - Wed, 19 Mar 2025 07:03:28 GMT etag: - - '"c800e00d-0000-0200-0000-67d9f1000000"' + - '"d60087a5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -449,9 +449,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: C474AA7F03944892B680D314C42F4F42 Ref B: MAA201060514047 Ref C: 2025-03-18T22:17:54Z' + - 'Ref A: D10F482D62AA4010AB2573E1599F9110 Ref B: MAA201060514035 Ref C: 2025-03-19T07:03:27Z' status: code: 200 message: OK @@ -467,12 +467,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.886Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.886Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.274Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.274Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -485,13 +485,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:56 GMT + - Wed, 19 Mar 2025 07:03:29 GMT mise-correlation-id: - - 7959cea8-b820-42b8-b18c-b8fd5e7ea10f + - 8c7bac76-a4db-41d2-a575-78e31cc28757 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221755Z-18477bc996cb8q6qhC1SG1qtwn00000002t000000000deuc + - 20250319T070328Z-18477bc996cf8wxshC1SG1rav400000003wg00000000ttak x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -514,7 +514,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-18T22:17:14.5379575Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-18T22:17:14.5379575Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.9973835Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.9973835Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -523,9 +523,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:57 GMT + - Wed, 19 Mar 2025 07:03:29 GMT etag: - - '"c800e00d-0000-0200-0000-67d9f1000000"' + - '"d60087a5-0000-0200-0000-67da6c2d0000"' expires: - '-1' pragma: @@ -541,7 +541,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 2E2AC058A57D468F96B9A15D6CE6208A Ref B: MAA201060514037 Ref C: 2025-03-18T22:17:56Z' + - 'Ref A: F6F9F64A364F4025865C0E4125C3D9AF Ref B: MAA201060516033 Ref C: 2025-03-19T07:03:29Z' status: code: 200 message: OK @@ -557,12 +557,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://2b62fd7a-dcc9-4fdd-92a9-91743607cb60.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-18T22:17:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-19T22:17:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-18T22:17:48.886Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-18T22:17:48.886Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.274Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.274Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -575,13 +575,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 18 Mar 2025 22:17:58 GMT + - Wed, 19 Mar 2025 07:03:30 GMT mise-correlation-id: - - cf199f3d-c975-4c6c-8c8a-5ecd69a34be1 + - 62ed2fee-5609-4224-801d-55afcaa0167f strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250318T221757Z-18477bc996c8769chC1SG17fqs00000002zg0000000007zz + - 20250319T070330Z-18477bc996cxk5l8hC1SG1wnx0000000041g000000004h8b x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/setup.py b/src/load/setup.py index 6990380ce27..df605e9343e 100644 --- a/src/load/setup.py +++ b/src/load/setup.py @@ -10,7 +10,7 @@ # HISTORY.rst entry. -VERSION = '1.7.0' +VERSION = '1.8.0' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From 5303b10c583cc6517ca892fecb84a75299f8fc3e Mon Sep 17 00:00:00 2001 From: Himanshu Bisht Date: Wed, 19 Mar 2025 08:19:42 +0000 Subject: [PATCH 16/16] removed datetime.UTC as not supported in python 3.9 --- src/load/azext_load/tests/latest/constants.py | 2 +- ...t_create_and_verify_trigger_schedules.yaml | 264 +++++++++--------- ...create_trigger_schedule_invalid_cases.yaml | 80 +++--- .../test_delete_trigger_schedule.yaml | 64 ++--- .../test_enable_trigger_schedule.yaml | 122 ++++---- .../test_list_trigger_schedules.yaml | 52 ++-- .../test_pause_trigger_schedule.yaml | 88 +++--- .../test_update_trigger_schedule.yaml | 76 ++--- ...update_trigger_schedule_invalid_cases.yaml | 134 ++++----- .../latest/test_load_trigger_schedule.py | 1 + 10 files changed, 442 insertions(+), 441 deletions(-) diff --git a/src/load/azext_load/tests/latest/constants.py b/src/load/azext_load/tests/latest/constants.py index d682861b475..56e99dff591 100644 --- a/src/load/azext_load/tests/latest/constants.py +++ b/src/load/azext_load/tests/latest/constants.py @@ -296,7 +296,7 @@ class LoadTestTriggerConstants(LoadConstants): DAILY_RECURRENCE_TYPE = "Daily" RECURRENCE_INTERVAL_ONE = 1 - CURRENT_DATE_TIME = datetime.datetime.now(datetime.UTC).strftime('%Y-%m-%dT%H:%M:%SZ') + CURRENT_DATE_TIME = datetime.datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ') # Constants for cron schedule CRON_TRIGGER_ID = "test-trigger-id-cron" diff --git a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml index 64ee6a65077..4bd89263f2f 100644 --- a/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_create_and_verify_trigger_schedules.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.7579714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.7579714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:19 GMT + - Wed, 19 Mar 2025 08:13:48 GMT etag: - - '"d6008ea5-0000-0200-0000-67da6c2d0000"' + - '"d900a4d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 0AC0C21453EE4F919F5321D0BE007CB0 Ref B: MAA201060515021 Ref C: 2025-03-19T07:03:19Z' + - 'Ref A: CDD737A5CF384CC2BF2530E7CAAE24DB Ref B: MAA201060514023 Ref C: 2025-03-19T08:13:47Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-daily @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:22 GMT + - Wed, 19 Mar 2025 08:13:49 GMT mise-correlation-id: - - a2aa5c10-4fc5-4dd7-8997-07f9e42e6d2f + - c0a5c7f8-fe16-4c0d-878d-73bbd52ac85f strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070321Z-18477bc996c8hpqzhC1SG179ms00000003zg00000000cwer + - 20250319T081349Z-18477bc996c8hpqzhC1SG179ms00000003zg00000000ytnh x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-daily"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T07:02:36Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T08:13:05Z", "state": "Active", "displayName": "Daily Trigger", "description": "Trigger schedule for daily test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule - for daily test case","state":"Active","createdDateTime":"2025-03-19T07:03:22.213Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:22.213Z","lastModifiedBy":"hbisht@microsoft.com"}' + for daily test case","state":"Active","createdDateTime":"2025-03-19T08:13:49.929Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:49.929Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:22 GMT + - Wed, 19 Mar 2025 08:13:50 GMT location: - - https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + - https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview mise-correlation-id: - - dc70a5a4-c8e4-4f57-985b-94c5042bc22c + - ac4d0946-24db-4297-b280-6e4b3e34fedc strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070322Z-18477bc996c8hpqzhC1SG179ms00000003zg00000000cwkm + - 20250319T081349Z-18477bc996c8hpqzhC1SG179ms00000003zg00000000ytrf x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.7579714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.7579714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:22 GMT + - Wed, 19 Mar 2025 08:13:51 GMT etag: - - '"d6008ea5-0000-0200-0000-67da6c2d0000"' + - '"d900a4d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: AE1EB7D8564347B196CF0C9A352C4D51 Ref B: MAA201060516019 Ref C: 2025-03-19T07:03:22Z' + - 'Ref A: 4114C7955B034C21B0A8DC594D8F32F1 Ref B: MAA201060516053 Ref C: 2025-03-19T08:13:50Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview + uri: https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-daily?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily + string: '{"testIds":["test-id-daily"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Daily Trigger","triggerId":"test-trigger-id-daily","description":"Trigger schedule - for daily test case","state":"Active","createdDateTime":"2025-03-19T07:03:22.213Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:22.213Z","lastModifiedBy":"hbisht@microsoft.com"}' + for daily test case","state":"Active","createdDateTime":"2025-03-19T08:13:49.929Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:49.929Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:24 GMT + - Wed, 19 Mar 2025 08:13:52 GMT mise-correlation-id: - - 5d2937ed-6bbf-4e0c-8179-a343938ae9c1 + - 9719d94e-db34-40f7-a057-254b167b26f0 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070323Z-18477bc996cxwjzbhC1SG1ra6g00000001u00000000065mp + - 20250319T081351Z-18477bc996c8769chC1SG17fqs000000042000000000n49v x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -244,7 +244,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.7579714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.7579714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -253,9 +253,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:26 GMT + - Wed, 19 Mar 2025 08:13:52 GMT etag: - - '"d6008ea5-0000-0200-0000-67da6c2d0000"' + - '"d900a4d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -271,7 +271,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 1D2641EE4C7F418C864B98E733BBBB9D Ref B: MAA201060515017 Ref C: 2025-03-19T07:03:24Z' + - 'Ref A: 9E69D9E76B4741B4998B6658253C64FA Ref B: MAA201060513039 Ref C: 2025-03-19T08:13:52Z' status: code: 200 message: OK @@ -287,7 +287,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-weekly @@ -300,15 +300,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:27 GMT + - Wed, 19 Mar 2025 08:13:54 GMT mise-correlation-id: - - 99abd5b4-440d-44c7-a0f4-5684f4f824f3 + - 867f24cb-ba48-4a01-be7a-604f52b39e46 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070326Z-18477bc996cnwpbrhC1SG1z5r0000000040000000000f9tv + - 20250319T081352Z-18477bc996cxk5l8hC1SG1wnx0000000040000000000xk0m x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -321,7 +321,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-weekly"], "recurrence": {"frequency": "Weekly", "interval": 1, "daysOfWeek": ["Monday"]}, "startDateTime": - "2025-03-19T07:02:36Z", "state": "Active", "displayName": "Weekly Trigger", + "2025-03-19T08:13:05Z", "state": "Active", "displayName": "Weekly Trigger", "description": "Trigger schedule for weekly test case"}' headers: Accept: @@ -337,12 +337,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-24T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-24T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule - for weekly test case","state":"Active","createdDateTime":"2025-03-19T07:03:28.891Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:28.891Z","lastModifiedBy":"hbisht@microsoft.com"}' + for weekly test case","state":"Active","createdDateTime":"2025-03-19T08:13:54.366Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:54.366Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -353,15 +353,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:29 GMT + - Wed, 19 Mar 2025 08:13:54 GMT location: - - https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + - https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview mise-correlation-id: - - 8a17f04c-4b0e-4c17-92ef-267f0f5213c5 + - e4940e45-2127-4f52-b916-7781e0e15c99 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070327Z-18477bc996cnwpbrhC1SG1z5r0000000040000000000f9xd + - 20250319T081354Z-18477bc996cxk5l8hC1SG1wnx0000000040000000000xk81 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -384,7 +384,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.7579714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.7579714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -393,9 +393,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:29 GMT + - Wed, 19 Mar 2025 08:13:55 GMT etag: - - '"d6008ea5-0000-0200-0000-67da6c2d0000"' + - '"d900a4d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -411,7 +411,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: A97269FD4DDE41E793AB53076845B700 Ref B: MAA201060513031 Ref C: 2025-03-19T07:03:29Z' + - 'Ref A: 1CC8C2A371FE4B9CA879A5E42EA94E42 Ref B: MAA201060514035 Ref C: 2025-03-19T08:13:55Z' status: code: 200 message: OK @@ -427,12 +427,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview + uri: https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-weekly?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-24T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly + string: '{"testIds":["test-id-weekly"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-24T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Weekly Trigger","triggerId":"test-trigger-id-weekly","description":"Trigger schedule - for weekly test case","state":"Active","createdDateTime":"2025-03-19T07:03:28.891Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:28.891Z","lastModifiedBy":"hbisht@microsoft.com"}' + for weekly test case","state":"Active","createdDateTime":"2025-03-19T08:13:54.366Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:54.366Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -445,13 +445,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:31 GMT + - Wed, 19 Mar 2025 08:13:56 GMT mise-correlation-id: - - 4a323dcb-6c56-4281-92a4-6f37ea50f239 + - a6717a18-95f6-430c-89fa-9511bfca3724 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070330Z-18477bc996cxk5l8hC1SG1wnx0000000040000000000b3tn + - 20250319T081355Z-18477bc996cqfz4fhC1SG1ugpc000000045000000000946p x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -474,7 +474,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.7579714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.7579714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -483,9 +483,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:31 GMT + - Wed, 19 Mar 2025 08:13:56 GMT etag: - - '"d6008ea5-0000-0200-0000-67da6c2d0000"' + - '"d900a4d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -501,7 +501,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 8F69346E91EF4AAFA99E13E15BD89640 Ref B: MAA201060514023 Ref C: 2025-03-19T07:03:31Z' + - 'Ref A: DB65A1355EE04ADD887F933FF13B3AC6 Ref B: MAA201060516049 Ref C: 2025-03-19T08:13:56Z' status: code: 200 message: OK @@ -517,7 +517,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-monthly-dates @@ -530,15 +530,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:33 GMT + - Wed, 19 Mar 2025 08:13:58 GMT mise-correlation-id: - - 5000b908-81ae-457e-99c7-cf1455a2a1bb + - 306b9e5c-c720-49b5-944c-20457574c0f2 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070332Z-18477bc996c7789nhC1SG1cyf800000003wg00000000rebs + - 20250319T081357Z-18477bc996c8hpqzhC1SG179ms000000041000000000syz0 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -551,7 +551,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-dates"], "recurrence": {"frequency": "MonthlyByDates", "interval": 1, "datesInMonth": - [1, 15]}, "startDateTime": "2025-03-19T07:02:36Z", "state": "Active", "displayName": + [1, 15]}, "startDateTime": "2025-03-19T08:13:05Z", "state": "Active", "displayName": "Monthly By Dates Trigger", "description": "Trigger schedule for monthly by dates test case"}' headers: @@ -568,12 +568,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-01T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-01T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger - schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-19T07:03:33.442Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:33.442Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-19T08:13:58.852Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:58.852Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -584,15 +584,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:33 GMT + - Wed, 19 Mar 2025 08:13:58 GMT location: - - https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + - https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview mise-correlation-id: - - dbf8f0e7-9009-44cc-b169-055786a14aa3 + - a32edfbf-ad1a-4192-bbbe-6cc1ffc9519e strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070333Z-18477bc996c7789nhC1SG1cyf800000003wg00000000reev + - 20250319T081358Z-18477bc996c8hpqzhC1SG179ms000000041000000000sz2a x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -615,7 +615,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.7579714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.7579714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -624,9 +624,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:33 GMT + - Wed, 19 Mar 2025 08:14:00 GMT etag: - - '"d6008ea5-0000-0200-0000-67da6c2d0000"' + - '"d900a4d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -642,7 +642,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 1EAAE3C290FA4A5EABF2A61B664F2D1D Ref B: MAA201060514021 Ref C: 2025-03-19T07:03:33Z' + - 'Ref A: 750E494BC6DF40CFB0C52116E1341DC2 Ref B: MAA201060515051 Ref C: 2025-03-19T08:13:59Z' status: code: 200 message: OK @@ -658,12 +658,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview + uri: https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-dates?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-01T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-dates"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"MonthlyByDates","datesInMonth":[1,15],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-01T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Dates Trigger","triggerId":"test-trigger-id-monthly-dates","description":"Trigger - schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-19T07:03:33.442Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:33.442Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by dates test case","state":"Active","createdDateTime":"2025-03-19T08:13:58.852Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:58.852Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -676,13 +676,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:35 GMT + - Wed, 19 Mar 2025 08:14:01 GMT mise-correlation-id: - - 0b628f78-aa9f-4967-bc8e-8b8372e209ef + - 2e8f20b7-7429-4cde-a376-ab3e331679cb strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070334Z-18477bc996cclmt4hC1SG1728c00000003w000000000uz62 + - 20250319T081400Z-18477bc996c7qjcphC1SG1f06w000000044000000000gth4 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -705,7 +705,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.7579714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.7579714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -714,9 +714,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:35 GMT + - Wed, 19 Mar 2025 08:14:02 GMT etag: - - '"d6008ea5-0000-0200-0000-67da6c2d0000"' + - '"d900a4d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -732,7 +732,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: F2AC1017628847D9812BF244D1975EE0 Ref B: MAA201060516033 Ref C: 2025-03-19T07:03:35Z' + - 'Ref A: 4F3D5B8583684EA9957EA07338459B48 Ref B: MAA201060516035 Ref C: 2025-03-19T08:14:01Z' status: code: 200 message: OK @@ -748,7 +748,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-monthly-days @@ -761,15 +761,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:36 GMT + - Wed, 19 Mar 2025 08:14:03 GMT mise-correlation-id: - - 5df6f5b8-83f5-4c46-9745-b132518d30d6 + - e87c202e-d192-49bb-b76d-3137e1bd5de4 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070335Z-18477bc996cf8wxshC1SG1rav400000003vg00000000xs4d + - 20250319T081402Z-18477bc996cmrxbmhC1SG1uv1g000000046g000000003aq4 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -782,7 +782,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-monthly-days"], "recurrence": {"frequency": "MonthlyByDays", "interval": 1, "weekDaysInMonth": ["Monday"], - "index": 1}, "startDateTime": "2025-03-19T07:02:36Z", "state": "Active", "displayName": + "index": 1}, "startDateTime": "2025-03-19T08:13:05Z", "state": "Active", "displayName": "Monthly By Days Trigger", "description": "Trigger schedule for monthly by days test case"}' headers: @@ -799,12 +799,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger - schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-19T07:03:36.771Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:36.771Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-19T08:14:03.776Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:14:03.776Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -815,15 +815,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:36 GMT + - Wed, 19 Mar 2025 08:14:03 GMT location: - - https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + - https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview mise-correlation-id: - - e374ea74-2fbc-4377-a061-91dbe309e9de + - 8c07d510-0cdb-4dfc-b2d5-d93392f57de5 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070336Z-18477bc996cf8wxshC1SG1rav400000003vg00000000xs87 + - 20250319T081403Z-18477bc996cmrxbmhC1SG1uv1g000000046g000000003atz x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -846,7 +846,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.7579714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.7579714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -855,9 +855,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:37 GMT + - Wed, 19 Mar 2025 08:14:03 GMT etag: - - '"d6008ea5-0000-0200-0000-67da6c2d0000"' + - '"d900a4d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -873,7 +873,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: E29101DB78B7453791A2774E4CE9FF1B Ref B: MAA201060513035 Ref C: 2025-03-19T07:03:37Z' + - 'Ref A: 4E39C06D18CA4862A13E84291CEC1313 Ref B: MAA201060514047 Ref C: 2025-03-19T08:14:04Z' status: code: 200 message: OK @@ -889,12 +889,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview + uri: https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-monthly-days?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly + string: '{"testIds":["test-id-monthly-days"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"MonthlyByDays","weekDaysInMonth":["Monday"],"interval":1,"index":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-07T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Monthly By Days Trigger","triggerId":"test-trigger-id-monthly-days","description":"Trigger - schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-19T07:03:36.771Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:36.771Z","lastModifiedBy":"hbisht@microsoft.com"}' + schedule for monthly by days test case","state":"Active","createdDateTime":"2025-03-19T08:14:03.776Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:14:03.776Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -907,13 +907,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:38 GMT + - Wed, 19 Mar 2025 08:14:05 GMT mise-correlation-id: - - 82aa3d72-5f0a-478e-ba12-a8096603a8cf + - 17c24611-0b08-4fa3-ae78-597ea5f327e1 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070337Z-18477bc996cqfz4fhC1SG1ugpc00000003x000000000qv83 + - 20250319T081404Z-18477bc996cf8wxshC1SG1rav4000000042000000000phrr x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -936,7 +936,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.7579714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.7579714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -945,9 +945,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:38 GMT + - Wed, 19 Mar 2025 08:14:05 GMT etag: - - '"d6008ea5-0000-0200-0000-67da6c2d0000"' + - '"d900a4d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -963,7 +963,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 73F1D38E35E4443FAD8AD1907A525B6A Ref B: MAA201060515051 Ref C: 2025-03-19T07:03:38Z' + - 'Ref A: E8E406F4E9CE460D854FD892935B374E Ref B: MAA201060516011 Ref C: 2025-03-19T08:14:05Z' status: code: 200 message: OK @@ -979,7 +979,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-cron @@ -992,15 +992,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:39 GMT + - Wed, 19 Mar 2025 08:14:07 GMT mise-correlation-id: - - 7fb2105e-70ac-492c-beba-5513771e6b58 + - 4a76fac2-d110-4c56-a34b-004cdf3b3a35 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070339Z-18477bc996c8wq9dhC1SG1e2t000000003x000000000p4vu + - 20250319T081406Z-18477bc996cxk5l8hC1SG1wnx0000000042000000000pqbn x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -1012,7 +1012,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-cron"], "recurrence": - {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-19T07:02:36Z", + {"frequency": "Cron", "cronExpression": "0 0 12 * *"}, "startDateTime": "2025-03-19T08:13:05Z", "state": "Active", "displayName": "Cron Trigger", "description": "Trigger schedule for cron test case"}' headers: @@ -1029,32 +1029,32 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Cron","cronExpression":"0 + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Cron","cronExpression":"0 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule - for cron test case","state":"Active","createdDateTime":"2025-03-19T07:03:39.634Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:39.634Z","lastModifiedBy":"hbisht@microsoft.com"}' + for cron test case","state":"Active","createdDateTime":"2025-03-19T08:14:07.54Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:14:07.54Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview connection: - keep-alive content-length: - - '535' + - '533' content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:39 GMT + - Wed, 19 Mar 2025 08:14:07 GMT location: - - https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + - https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview mise-correlation-id: - - 1c1a3086-8209-4fa9-b9b3-71afaa190132 + - 799df6ec-e335-4b9e-ae86-45325b4cf76d strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070339Z-18477bc996c8wq9dhC1SG1e2t000000003x000000000p4wk + - 20250319T081407Z-18477bc996cxk5l8hC1SG1wnx0000000042000000000pqeh x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -1077,7 +1077,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6478131Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6478131Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.7579714Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.7579714Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1086,9 +1086,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:40 GMT + - Wed, 19 Mar 2025 08:14:07 GMT etag: - - '"d6008ea5-0000-0200-0000-67da6c2d0000"' + - '"d900a4d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -1104,7 +1104,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 8E9D95D95E7D4268A2337CB41DC2647B Ref B: MAA201060515027 Ref C: 2025-03-19T07:03:39Z' + - 'Ref A: F5C832D0DF52400195F045A0A860FA79 Ref B: MAA201060514033 Ref C: 2025-03-19T08:14:07Z' status: code: 200 message: OK @@ -1120,13 +1120,13 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://7d2c66ad-25c5-4237-b9d1-2c2b74959c26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview + uri: https://f37a39b5-231f-4268-8ab2-65b76c9fe6cb.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-cron?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Cron","cronExpression":"0 + string: '{"testIds":["test-id-cron"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Cron","cronExpression":"0 0 12 * *"},"recurrenceStatus":{"nextScheduledDateTimes":["2025-04-12T00:00:00Z"]},"kind":"ScheduleTestsTrigger","displayName":"Cron Trigger","triggerId":"test-trigger-id-cron","description":"Trigger schedule - for cron test case","state":"Active","createdDateTime":"2025-03-19T07:03:39.634Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:39.634Z","lastModifiedBy":"hbisht@microsoft.com"}' + for cron test case","state":"Active","createdDateTime":"2025-03-19T08:14:07.54Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:14:07.54Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -1135,17 +1135,17 @@ interactions: connection: - keep-alive content-length: - - '535' + - '533' content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:41 GMT + - Wed, 19 Mar 2025 08:14:09 GMT mise-correlation-id: - - b53a1968-7267-4fa5-8708-f27e94b39366 + - 41a6f5e1-f9ea-41f4-bf13-17e6c8c348a4 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070340Z-18477bc996cclmt4hC1SG1728c00000003y000000000meud + - 20250319T081408Z-18477bc996ccts7chC1SG1v4mc000000044000000000e6rz x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml b/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml index 7b63988d421..4486dca6db3 100644 --- a/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_create_trigger_schedule_invalid_cases.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6760596Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6760596Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.9218429Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.9218429Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b9d975e-fd96-4bfa-b03f-3b99bd7778e1.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:49 GMT + - Wed, 19 Mar 2025 08:13:48 GMT etag: - - '"d600f4a5-0000-0200-0000-67da6c380000"' + - '"d900c2d8-0000-0200-0000-67da7cb20000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: D4D71726FED34054BE0D582DE27393E1 Ref B: MAA201060513029 Ref C: 2025-03-19T07:03:49Z' + - 'Ref A: E91FBAD458E345249248D364C7E7FD2E Ref B: MAA201060515021 Ref C: 2025-03-19T08:13:48Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-daily-trigger?api-version=2024-12-01-preview + uri: https://2b9d975e-fd96-4bfa-b03f-3b99bd7778e1.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-daily-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-daily-trigger @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:50 GMT + - Wed, 19 Mar 2025 08:13:49 GMT mise-correlation-id: - - ffb49335-9dd6-4797-81ab-12e9a983fac7 + - d8476d50-9f81-4a87-86c6-45294205aeb0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070349Z-18477bc996crszl4hC1SG168uc00000003z000000000du3k + - 20250319T081349Z-18477bc996c8wq9dhC1SG1e2t000000004500000000089up x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -103,7 +103,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6760596Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6760596Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.9218429Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.9218429Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b9d975e-fd96-4bfa-b03f-3b99bd7778e1.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -112,9 +112,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:50 GMT + - Wed, 19 Mar 2025 08:13:51 GMT etag: - - '"d600f4a5-0000-0200-0000-67da6c380000"' + - '"d900c2d8-0000-0200-0000-67da7cb20000"' expires: - '-1' pragma: @@ -130,7 +130,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: FAE85FD04CC04634870B5B08A3A242B9 Ref B: MAA201060513011 Ref C: 2025-03-19T07:03:50Z' + - 'Ref A: 62B9E4A3AC2B4A059CA56AB2D038EB47 Ref B: MAA201060515029 Ref C: 2025-03-19T08:13:50Z' status: code: 200 message: OK @@ -146,7 +146,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-weekly-trigger?api-version=2024-12-01-preview + uri: https://2b9d975e-fd96-4bfa-b03f-3b99bd7778e1.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-weekly-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-weekly-trigger @@ -159,15 +159,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:53 GMT + - Wed, 19 Mar 2025 08:13:52 GMT mise-correlation-id: - - 163f3d00-38b2-48f4-a04b-e481f5b3076d + - fe55ed18-67da-4bf5-9e23-187d216db7c1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070352Z-18477bc996c8769chC1SG17fqs00000003zg00000000crwt + - 20250319T081351Z-18477bc996cwsj7whC1SG1ee1c000000040000000000x72h x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -192,7 +192,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6760596Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6760596Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.9218429Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.9218429Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b9d975e-fd96-4bfa-b03f-3b99bd7778e1.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -201,9 +201,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:53 GMT + - Wed, 19 Mar 2025 08:13:53 GMT etag: - - '"d600f4a5-0000-0200-0000-67da6c380000"' + - '"d900c2d8-0000-0200-0000-67da7cb20000"' expires: - '-1' pragma: @@ -219,7 +219,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 0F34D9CF5C3E49D1B32F0172B030F989 Ref B: MAA201060516047 Ref C: 2025-03-19T07:03:53Z' + - 'Ref A: 781670A5047F406EB9B6CA01881B2268 Ref B: MAA201060515017 Ref C: 2025-03-19T08:13:52Z' status: code: 200 message: OK @@ -235,7 +235,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-dates-trigger?api-version=2024-12-01-preview + uri: https://2b9d975e-fd96-4bfa-b03f-3b99bd7778e1.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-dates-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-monthly-dates-trigger @@ -248,15 +248,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:54 GMT + - Wed, 19 Mar 2025 08:13:54 GMT mise-correlation-id: - - a89894bd-8007-4cb1-8963-b3f2ebe9a156 + - bbb31f23-eea0-401c-9f50-9cc7ccf77705 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070353Z-r1bf87c6457wp5w4hC1SG1u5yc0000000dh0000000003s7r + - 20250319T081353Z-18477bc996clttsthC1SG10a4s000000040000000000zmw8 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -281,7 +281,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6760596Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6760596Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.9218429Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.9218429Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b9d975e-fd96-4bfa-b03f-3b99bd7778e1.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -290,9 +290,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:54 GMT + - Wed, 19 Mar 2025 08:13:55 GMT etag: - - '"d600f4a5-0000-0200-0000-67da6c380000"' + - '"d900c2d8-0000-0200-0000-67da7cb20000"' expires: - '-1' pragma: @@ -308,7 +308,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: EF516EC5F4D54EC18253349B5A87A8AC Ref B: MAA201060514053 Ref C: 2025-03-19T07:03:54Z' + - 'Ref A: C1049B5DEDE145B797F5418438135C4A Ref B: MAA201060515021 Ref C: 2025-03-19T08:13:54Z' status: code: 200 message: OK @@ -324,7 +324,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-days-trigger?api-version=2024-12-01-preview + uri: https://2b9d975e-fd96-4bfa-b03f-3b99bd7778e1.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-monthly-days-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-monthly-days-trigger @@ -337,15 +337,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:55 GMT + - Wed, 19 Mar 2025 08:13:56 GMT mise-correlation-id: - - 96822723-b9d0-4029-a423-8af784d72b12 + - f844b7e6-1da2-41ba-826c-182b79ecdccc strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070355Z-r1bf87c6457xz99vhC1SG1adaw0000000ckg00000000frpx + - 20250319T081355Z-18477bc996cf8wxshC1SG1rav4000000043g00000000fxep x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -370,7 +370,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.6760596Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.6760596Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.9218429Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.9218429Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"2b9d975e-fd96-4bfa-b03f-3b99bd7778e1.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -379,9 +379,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:56 GMT + - Wed, 19 Mar 2025 08:13:57 GMT etag: - - '"d600f4a5-0000-0200-0000-67da6c380000"' + - '"d900c2d8-0000-0200-0000-67da7cb20000"' expires: - '-1' pragma: @@ -397,7 +397,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 1C1EDC643A7F4B75A0C6A89F40FE362B Ref B: MAA201060514019 Ref C: 2025-03-19T07:03:55Z' + - 'Ref A: 5A5FBCBEE6D84E53B7F9069460DD0672 Ref B: MAA201060514023 Ref C: 2025-03-19T08:13:56Z' status: code: 200 message: OK @@ -413,7 +413,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://70e4ab65-0ccf-4a51-bf4b-d3dcaef08ce4.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-cron-trigger?api-version=2024-12-01-preview + uri: https://2b9d975e-fd96-4bfa-b03f-3b99bd7778e1.eastus.cnt-prod.loadtesting.azure.com/triggers/invalid-cron-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: invalid-cron-trigger @@ -426,15 +426,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:57 GMT + - Wed, 19 Mar 2025 08:13:58 GMT mise-correlation-id: - - 5d945842-995e-46c1-b4af-316cfee0e716 + - d41eb619-9eec-4990-aa9d-8b7de761b4e8 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070356Z-r1bf87c64574hs45hC1SG1nrp0000000036g00000000b7qb + - 20250319T081357Z-18477bc996cb8q6qhC1SG1qtwn000000043g00000000f1u7 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml index b0ad3a5b79f..74df7fbb331 100644 --- a/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_delete_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.3719874Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.3719874Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.9454299Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.9454299Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3b8ba859-b7bd-4680-8598-5cbf8ce8b4fc.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:19 GMT + - Wed, 19 Mar 2025 08:13:50 GMT etag: - - '"d60079a5-0000-0200-0000-67da6c2c0000"' + - '"d900d2d8-0000-0200-0000-67da7cb30000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: C46A5C0A670C4540B2F60572215E547B Ref B: MAA201060515017 Ref C: 2025-03-19T07:03:19Z' + - 'Ref A: 6D408120DF284B8F8680B7647EDFF253 Ref B: MAA201060513045 Ref C: 2025-03-19T08:13:49Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://3b8ba859-b7bd-4680-8598-5cbf8ce8b4fc.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-delete @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:20 GMT + - Wed, 19 Mar 2025 08:13:51 GMT mise-correlation-id: - - 943b61ef-e690-4ecf-8a2d-2df180a84dbd + - 8aab6f6f-0c87-43a4-9ca5-f9708eb2e501 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070320Z-r1bf87c6457xz99vhC1SG1adaw0000000ckg00000000fn90 + - 20250319T081350Z-18477bc996cxwjzbhC1SG1ra6g00000001u000000000r6xc x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-delete"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T07:02:36Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T08:13:05Z", "state": "Active", "displayName": "Delete Trigger", "description": "Trigger schedule for delete test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://3b8ba859-b7bd-4680-8598-5cbf8ce8b4fc.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Delete + string: '{"testIds":["test-id-delete"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Delete Trigger","triggerId":"test-trigger-id-delete","description":"Trigger schedule - for delete test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.017Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.017Z","lastModifiedBy":"hbisht@microsoft.com"}' + for delete test case","state":"Active","createdDateTime":"2025-03-19T08:13:51.533Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:51.533Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:21 GMT + - Wed, 19 Mar 2025 08:13:51 GMT location: - - https://089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + - https://3b8ba859-b7bd-4680-8598-5cbf8ce8b4fc.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview mise-correlation-id: - - 3e66dc95-f6a8-4094-8c07-40bfa2f12aa3 + - 11561f48-2203-4b3e-a9ce-0543e2691b64 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070320Z-r1bf87c6457xz99vhC1SG1adaw0000000ckg00000000fnav + - 20250319T081351Z-18477bc996cxwjzbhC1SG1ra6g00000001u000000000r6zy x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.3719874Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.3719874Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.9454299Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.9454299Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3b8ba859-b7bd-4680-8598-5cbf8ce8b4fc.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:21 GMT + - Wed, 19 Mar 2025 08:13:52 GMT etag: - - '"d60079a5-0000-0200-0000-67da6c2c0000"' + - '"d900d2d8-0000-0200-0000-67da7cb30000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 72FFF94B7BC74803AE616B640340189F Ref B: MAA201060515029 Ref C: 2025-03-19T07:03:21Z' + - 'Ref A: 546448FDD9F648C88A36A811E8D78166 Ref B: MAA201060515027 Ref C: 2025-03-19T08:13:51Z' status: code: 200 message: OK @@ -199,7 +199,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: DELETE - uri: https://089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview + uri: https://3b8ba859-b7bd-4680-8598-5cbf8ce8b4fc.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-delete?api-version=2024-12-01-preview response: body: string: '' @@ -209,13 +209,13 @@ interactions: connection: - keep-alive date: - - Wed, 19 Mar 2025 07:03:22 GMT + - Wed, 19 Mar 2025 08:13:53 GMT mise-correlation-id: - - 7193ef27-77c6-41c7-9e34-c274b781fdd7 + - 18348f62-2973-4ad4-be74-0c338f4a3d3f strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070321Z-r1bf87c64576dw6dhC1SG1v4b40000000cy0000000006d3a + - 20250319T081353Z-18477bc996cclmt4hC1SG1728c000000044000000000dedf x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -238,7 +238,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.3719874Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.3719874Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.9454299Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.9454299Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"3b8ba859-b7bd-4680-8598-5cbf8ce8b4fc.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -247,9 +247,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:22 GMT + - Wed, 19 Mar 2025 08:13:54 GMT etag: - - '"d60079a5-0000-0200-0000-67da6c2c0000"' + - '"d900d2d8-0000-0200-0000-67da7cb30000"' expires: - '-1' pragma: @@ -265,7 +265,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: B168BF55D7D844F49ED01BE6DDE908B7 Ref B: MAA201060516009 Ref C: 2025-03-19T07:03:22Z' + - 'Ref A: C05D4CE22C73475CA375662D97A6D072 Ref B: MAA201060514017 Ref C: 2025-03-19T08:13:53Z' status: code: 200 message: OK @@ -281,7 +281,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://089a174d-7870-4845-8fed-8e615b8d6d26.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://3b8ba859-b7bd-4680-8598-5cbf8ce8b4fc.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: string: '{"value":[]}' @@ -297,13 +297,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:24 GMT + - Wed, 19 Mar 2025 08:13:55 GMT mise-correlation-id: - - 1249f199-3357-4484-87aa-5852cba872bb + - a1ac5f9b-c1d4-4fe4-b082-ecd9479d9564 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070323Z-r1bf87c6457vffrjhC1SG1wcus0000000ah0000000000w94 + - 20250319T081355Z-18477bc996cxk5l8hC1SG1wnx0000000041g00000000s3ke x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml index 3d33e32839c..92e5866dfdd 100644 --- a/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_enable_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.5665384Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.5665384Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.8947479Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.8947479Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"4a3a4635-6e43-4846-bb78-207e4b7fdb05.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:19 GMT + - Wed, 19 Mar 2025 08:13:49 GMT etag: - - '"d60084a5-0000-0200-0000-67da6c2d0000"' + - '"d900c0d8-0000-0200-0000-67da7cb20000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 1D6737D751CC45E3B8FF7F308BBA4939 Ref B: MAA201060516017 Ref C: 2025-03-19T07:03:18Z' + - 'Ref A: 1F17ECA56103434AB6A65F8044959408 Ref B: MAA201060516045 Ref C: 2025-03-19T08:13:49Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://4a3a4635-6e43-4846-bb78-207e4b7fdb05.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-enable @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:21 GMT + - Wed, 19 Mar 2025 08:13:51 GMT mise-correlation-id: - - 2013c6d3-cfc7-4681-bcff-7e616372e4ea + - 8db7e9aa-1b0c-4630-a5ea-0993055e1bd9 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070320Z-r1bf87c6457mxg5mhC1SG1uyvs00000007pg00000000e6ah + - 20250319T081350Z-18477bc996cclmt4hC1SG1728c000000046000000000517v x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-enable"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T07:02:36Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T08:13:05Z", "state": "Active", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://4a3a4635-6e43-4846-bb78-207e4b7fdb05.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.302Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-19T08:13:51.345Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:51.345Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:21 GMT + - Wed, 19 Mar 2025 08:13:51 GMT location: - - https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + - https://4a3a4635-6e43-4846-bb78-207e4b7fdb05.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview mise-correlation-id: - - 9e629cbb-36dc-41ba-a3a6-c504c6a2203e + - 0ca06656-70f5-49cb-bafc-da7e8243669f strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070321Z-r1bf87c6457mxg5mhC1SG1uyvs00000007pg00000000e6cq + - 20250319T081351Z-18477bc996cclmt4hC1SG1728c00000004600000000051au x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.5665384Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.5665384Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.8947479Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.8947479Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"4a3a4635-6e43-4846-bb78-207e4b7fdb05.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:22 GMT + - Wed, 19 Mar 2025 08:13:52 GMT etag: - - '"d60084a5-0000-0200-0000-67da6c2d0000"' + - '"d900c0d8-0000-0200-0000-67da7cb20000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 6179468BFAD9422688177D1DBE453AB6 Ref B: MAA201060513025 Ref C: 2025-03-19T07:03:21Z' + - 'Ref A: FD14816AE64D45608A88C3313959531E Ref B: MAA201060514031 Ref C: 2025-03-19T08:13:51Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://4a3a4635-6e43-4846-bb78-207e4b7fdb05.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.302Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-19T08:13:51.345Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:51.345Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:23 GMT + - Wed, 19 Mar 2025 08:13:53 GMT mise-correlation-id: - - 77e68ca1-471a-4628-8011-3a2328da675e + - 5c7e227c-1cd3-461c-a7b0-9cc031052860 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070322Z-r1bf87c6457x2s2thC1SG1gfrg0000000c9000000000147a + - 20250319T081352Z-18477bc996cf8wxshC1SG1rav4000000044g00000000bre0 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -230,7 +230,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-19T07:02:36Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-19T08:13:05Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case", "state": "Paused"}' @@ -248,12 +248,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://4a3a4635-6e43-4846-bb78-207e4b7fdb05.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Paused","createdDateTime":"2025-03-19T07:03:21.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:23.498Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Paused","createdDateTime":"2025-03-19T08:13:51.345Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:53.617Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -266,13 +266,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:23 GMT + - Wed, 19 Mar 2025 08:13:53 GMT mise-correlation-id: - - 6a3005ff-0faa-42e4-9e2d-fe5472346176 + - 6291ee27-c415-4690-bdb1-fcd3b179d834 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070323Z-r1bf87c6457x2s2thC1SG1gfrg0000000c90000000001494 + - 20250319T081353Z-18477bc996cf8wxshC1SG1rav4000000044g00000000brh8 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -295,7 +295,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.5665384Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.5665384Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.8947479Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.8947479Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"4a3a4635-6e43-4846-bb78-207e4b7fdb05.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -304,9 +304,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:23 GMT + - Wed, 19 Mar 2025 08:13:53 GMT etag: - - '"d60084a5-0000-0200-0000-67da6c2d0000"' + - '"d900c0d8-0000-0200-0000-67da7cb20000"' expires: - '-1' pragma: @@ -322,7 +322,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: ABF46B99923D40C5B2774EE9DD17B60C Ref B: MAA201060513039 Ref C: 2025-03-19T07:03:23Z' + - 'Ref A: 050C9944449F4DE1B25CE2A80AB37C53 Ref B: MAA201060515025 Ref C: 2025-03-19T08:13:53Z' status: code: 200 message: OK @@ -338,12 +338,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://4a3a4635-6e43-4846-bb78-207e4b7fdb05.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Paused","createdDateTime":"2025-03-19T07:03:21.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:23.498Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Paused","createdDateTime":"2025-03-19T08:13:51.345Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:53.617Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -356,13 +356,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:25 GMT + - Wed, 19 Mar 2025 08:13:55 GMT mise-correlation-id: - - c6a49a7c-4144-438d-9bb9-c2a1e1881a5a + - a8881ffa-49d3-4114-b6d9-ef02fd2d6f8f strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070324Z-18477bc996c8769chC1SG17fqs0000000420000000002f6s + - 20250319T081354Z-18477bc996cxwjzbhC1SG1ra6g0000000200000000001fc6 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -371,7 +371,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-19T07:02:36Z", + body: '{"testIds": ["test-id-enable"], "startDateTime": "2025-03-19T08:13:05Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Enable Trigger", "description": "Trigger schedule for enable test case", "state": "Active"}' @@ -389,12 +389,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://4a3a4635-6e43-4846-bb78-207e4b7fdb05.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:25.243Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-19T08:13:51.345Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:55.448Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -407,13 +407,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:25 GMT + - Wed, 19 Mar 2025 08:13:55 GMT mise-correlation-id: - - a57743cc-314e-423d-83f7-7a7b4ae0cd5d + - 89826419-ead9-4c88-ae44-173585d260aa strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070325Z-18477bc996c8769chC1SG17fqs0000000420000000002f8z + - 20250319T081355Z-18477bc996cxwjzbhC1SG1ra6g0000000200000000001fg4 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -436,7 +436,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.5665384Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.5665384Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.8947479Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.8947479Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"4a3a4635-6e43-4846-bb78-207e4b7fdb05.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -445,9 +445,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:25 GMT + - Wed, 19 Mar 2025 08:13:56 GMT etag: - - '"d60084a5-0000-0200-0000-67da6c2d0000"' + - '"d900c0d8-0000-0200-0000-67da7cb20000"' expires: - '-1' pragma: @@ -461,9 +461,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: 23A4474CC32F4C74AF9E8F83D6E57D6D Ref B: MAA201060514017 Ref C: 2025-03-19T07:03:25Z' + - 'Ref A: E40165D508464082914DDC7D6F048671 Ref B: MAA201060515031 Ref C: 2025-03-19T08:13:55Z' status: code: 200 message: OK @@ -479,12 +479,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://9ba33a7f-28ea-4095-82e4-bbecaf1f8bd5.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview + uri: https://4a3a4635-6e43-4846-bb78-207e4b7fdb05.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-enable?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable + string: '{"testIds":["test-id-enable"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Enable Trigger","triggerId":"test-trigger-id-enable","description":"Trigger schedule - for enable test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:25.243Z","lastModifiedBy":"hbisht@microsoft.com"}' + for enable test case","state":"Active","createdDateTime":"2025-03-19T08:13:51.345Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:55.448Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -497,13 +497,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:27 GMT + - Wed, 19 Mar 2025 08:13:57 GMT mise-correlation-id: - - 371909ca-b0c9-478d-b527-8af80317c3b6 + - da745308-9a3f-425e-81c8-929bf1696461 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070326Z-18477bc996cwsj7whC1SG1ee1c000000040000000000awkb + - 20250319T081356Z-18477bc996crszl4hC1SG168uc000000041g00000000q1ed x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml index ca515cd60a9..17eccfd8e80 100644 --- a/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_list_trigger_schedules.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:44.5607408Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:44.5607408Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"643da6fe-6759-483b-a651-ca44285d217a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.8070692Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.8070692Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"65ce7663-3446-44e4-a509-41bb2d8089d1.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:18 GMT + - Wed, 19 Mar 2025 08:13:49 GMT etag: - - '"d60066a5-0000-0200-0000-67da6c2b0000"' + - '"d90090d8-0000-0200-0000-67da7cb00000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 04B4110186684235841A644C7A240A33 Ref B: MAA201060513031 Ref C: 2025-03-19T07:03:19Z' + - 'Ref A: 8646279F365640BA8D47BDE7AEF642C8 Ref B: MAA201060513049 Ref C: 2025-03-19T08:13:48Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://643da6fe-6759-483b-a651-ca44285d217a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + uri: https://65ce7663-3446-44e4-a509-41bb2d8089d1.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-list @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:20 GMT + - Wed, 19 Mar 2025 08:13:50 GMT mise-correlation-id: - - dd1a44cb-4b6f-4ed1-bc65-6b8a18d35bab + - 74579dba-9bac-4861-8ee7-ad0b69e563ee strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070320Z-r1bf87c64574hs45hC1SG1nrp0000000036g00000000b45n + - 20250319T081349Z-r1bf87c6457xz99vhC1SG1adaw0000000cug00000000agve x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-list"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T07:02:36Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T08:13:05Z", "state": "Active", "displayName": "List Trigger", "description": "Trigger schedule for list test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://643da6fe-6759-483b-a651-ca44285d217a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + uri: https://65ce7663-3446-44e4-a509-41bb2d8089d1.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + string: '{"testIds":["test-id-list"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"List Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule - for list test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.05Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.05Z","lastModifiedBy":"hbisht@microsoft.com"}' + for list test case","state":"Active","createdDateTime":"2025-03-19T08:13:50.35Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:50.35Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:21 GMT + - Wed, 19 Mar 2025 08:13:50 GMT location: - - https://643da6fe-6759-483b-a651-ca44285d217a.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview + - https://65ce7663-3446-44e4-a509-41bb2d8089d1.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-list?api-version=2024-12-01-preview mise-correlation-id: - - 1b1589b9-2c10-4856-9d40-63db2bf51dfb + - 885ad875-69eb-4d0a-a579-7244840dd890 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070320Z-r1bf87c64574hs45hC1SG1nrp0000000036g00000000b46y + - 20250319T081350Z-r1bf87c6457xz99vhC1SG1adaw0000000cug00000000agx2 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:44.5607408Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:44.5607408Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"643da6fe-6759-483b-a651-ca44285d217a.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.8070692Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.8070692Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"65ce7663-3446-44e4-a509-41bb2d8089d1.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:22 GMT + - Wed, 19 Mar 2025 08:13:51 GMT etag: - - '"d60066a5-0000-0200-0000-67da6c2b0000"' + - '"d90090d8-0000-0200-0000-67da7cb00000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: D8EDB87D3E054733AEA94F00253B230D Ref B: MAA201060516053 Ref C: 2025-03-19T07:03:21Z' + - 'Ref A: 233496B3791F4FBFB194899101EC3BE8 Ref B: MAA201060513025 Ref C: 2025-03-19T08:13:50Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://643da6fe-6759-483b-a651-ca44285d217a.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview + uri: https://65ce7663-3446-44e4-a509-41bb2d8089d1.eastus.cnt-prod.loadtesting.azure.com/triggers?api-version=2024-12-01-preview response: body: - string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"List + string: '{"value":[{"testIds":["test-id-list"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"List Trigger","triggerId":"test-trigger-id-list","description":"Trigger schedule - for list test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.05Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.05Z","lastModifiedBy":"hbisht@microsoft.com"}]}' + for list test case","state":"Active","createdDateTime":"2025-03-19T08:13:50.35Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:50.35Z","lastModifiedBy":"hbisht@microsoft.com"}]}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:23 GMT + - Wed, 19 Mar 2025 08:13:52 GMT mise-correlation-id: - - 9bb89f10-e85d-4903-af52-88a895e8792d + - d7615834-11fd-4630-910f-32ebf24f57d7 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070322Z-r1bf87c6457p4r7jhC1SG1k05g0000000da0000000005sgp + - 20250319T081351Z-18477bc996cpf7dhhC1SG1fbe4000000042g00000000gmzr x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml index 8592f63b09c..286448b7abd 100644 --- a/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_pause_trigger_schedule.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.5571237Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.5571237Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.8085976Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.8085976Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"91d08108-433a-430c-8357-8b694126c3d1.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:18 GMT + - Wed, 19 Mar 2025 08:13:49 GMT etag: - - '"d6006ca5-0000-0200-0000-67da6c2b0000"' + - '"d900dcd8-0000-0200-0000-67da7cb40000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: F7B4E281F89846DDB4A71A34DBC206DC Ref B: MAA201060513049 Ref C: 2025-03-19T07:03:19Z' + - 'Ref A: 12DFFB9795BE4A68A648175CA982445F Ref B: MAA201060513031 Ref C: 2025-03-19T08:13:48Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://91d08108-433a-430c-8357-8b694126c3d1.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-pause @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:20 GMT + - Wed, 19 Mar 2025 08:13:50 GMT mise-correlation-id: - - d5d2bdd8-e8a2-4b84-aabc-367eccf5d355 + - 44eca4d6-70e4-4e42-988e-ec108ff83bfe strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070319Z-r1bf87c6457wp5w4hC1SG1u5yc0000000dh0000000003p33 + - 20250319T081349Z-18477bc996crszl4hC1SG168uc0000000470000000001c5a x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-pause"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T07:02:36Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T08:13:05Z", "state": "Active", "displayName": "Pause Trigger", "description": "Trigger schedule for pause test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://91d08108-433a-430c-8357-8b694126c3d1.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Active","createdDateTime":"2025-03-19T07:03:20.889Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:20.889Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Active","createdDateTime":"2025-03-19T08:13:50.493Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:50.493Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:21 GMT + - Wed, 19 Mar 2025 08:13:50 GMT location: - - https://92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + - https://91d08108-433a-430c-8357-8b694126c3d1.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview mise-correlation-id: - - b25146dc-e2c4-4f28-b423-f87b1c99e1fd + - d7ef09f5-57c9-4838-9c5b-64e229adffc5 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070320Z-r1bf87c6457wp5w4hC1SG1u5yc0000000dh0000000003p58 + - 20250319T081350Z-18477bc996crszl4hC1SG168uc0000000470000000001c7r x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.5571237Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.5571237Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.8085976Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.8085976Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"91d08108-433a-430c-8357-8b694126c3d1.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:21 GMT + - Wed, 19 Mar 2025 08:13:51 GMT etag: - - '"d6006ca5-0000-0200-0000-67da6c2b0000"' + - '"d900dcd8-0000-0200-0000-67da7cb40000"' expires: - '-1' pragma: @@ -181,7 +181,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16498' x-msedge-ref: - - 'Ref A: 079468EDA3D44300B3261EAFEDC25B37 Ref B: MAA201060516045 Ref C: 2025-03-19T07:03:21Z' + - 'Ref A: 67EF4B6BEEE7487C901899C6F73CDE91 Ref B: MAA201060516009 Ref C: 2025-03-19T08:13:50Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://91d08108-433a-430c-8357-8b694126c3d1.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Active","createdDateTime":"2025-03-19T07:03:20.889Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:20.889Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Active","createdDateTime":"2025-03-19T08:13:50.493Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:50.493Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:22 GMT + - Wed, 19 Mar 2025 08:13:52 GMT mise-correlation-id: - - bf7defc8-5e61-496d-b58c-49586ff7bd38 + - 46aabd3b-803b-4886-b285-0b37230a8485 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070321Z-r1bf87c6457xz99vhC1SG1adaw0000000ct00000000037bz + - 20250319T081351Z-18477bc996cnwpbrhC1SG1z5r00000000480000000001m56 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -230,7 +230,7 @@ interactions: code: 200 message: OK - request: - body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-19T07:02:36Z", + body: '{"testIds": ["test-id-pause"], "startDateTime": "2025-03-19T08:13:05Z", "recurrence": {"frequency": "Daily", "interval": 1}, "kind": "ScheduleTestsTrigger", "displayName": "Pause Trigger", "description": "Trigger schedule for pause test case", "state": "Paused"}' @@ -248,12 +248,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://91d08108-433a-430c-8357-8b694126c3d1.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Paused","createdDateTime":"2025-03-19T07:03:20.889Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:22.615Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Paused","createdDateTime":"2025-03-19T08:13:50.493Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:52.709Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -266,13 +266,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:22 GMT + - Wed, 19 Mar 2025 08:13:52 GMT mise-correlation-id: - - 202a98b6-03da-431a-9904-e2dc98c358e5 + - 77c68945-2ebf-47e0-b011-c13ce06f2c86 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070322Z-r1bf87c6457xz99vhC1SG1adaw0000000ct00000000037dp + - 20250319T081352Z-18477bc996cnwpbrhC1SG1z5r00000000480000000001m8c x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -295,7 +295,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.5571237Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.5571237Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.8085976Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.8085976Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"91d08108-433a-430c-8357-8b694126c3d1.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -304,9 +304,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:23 GMT + - Wed, 19 Mar 2025 08:13:53 GMT etag: - - '"d6006ca5-0000-0200-0000-67da6c2b0000"' + - '"d900dcd8-0000-0200-0000-67da7cb40000"' expires: - '-1' pragma: @@ -320,9 +320,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 21EBA81F277741F3A7AD53442DF77EE4 Ref B: MAA201060514031 Ref C: 2025-03-19T07:03:22Z' + - 'Ref A: 99A3CA60422F4517960E0747FD2599E1 Ref B: MAA201060514011 Ref C: 2025-03-19T08:13:53Z' status: code: 200 message: OK @@ -338,12 +338,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://92532df9-0fd5-4d64-8f53-4a7e0b7fd6a9.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview + uri: https://91d08108-433a-430c-8357-8b694126c3d1.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-pause?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause + string: '{"testIds":["test-id-pause"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":[]},"kind":"ScheduleTestsTrigger","displayName":"Pause Trigger","triggerId":"test-trigger-id-pause","description":"Trigger schedule - for pause test case","state":"Paused","createdDateTime":"2025-03-19T07:03:20.889Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:22.615Z","lastModifiedBy":"hbisht@microsoft.com"}' + for pause test case","state":"Paused","createdDateTime":"2025-03-19T08:13:50.493Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:52.709Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -356,13 +356,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:24 GMT + - Wed, 19 Mar 2025 08:13:54 GMT mise-correlation-id: - - 62fde95e-4991-494f-85de-ecb03a366f65 + - 995ffbd0-c82b-4342-9241-0b55611fceaa strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070324Z-r1bf87c6457kvxfvhC1SG1v5ec0000000bn000000000cydt + - 20250319T081354Z-18477bc996cb8q6qhC1SG1qtwn000000040000000000y2wf x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml index c9e97b58b01..430ba816d4d 100644 --- a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule.yaml @@ -14,18 +14,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.585053Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.585053Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"29eea606-0b61-4183-929d-de3dcf6e039f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.7758883Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.7758883Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d9a75b6c-936b-4ed6-8d82-a364caf44a32.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '663' + - '665' content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:18 GMT + - Wed, 19 Mar 2025 08:13:49 GMT etag: - - '"d60089a5-0000-0200-0000-67da6c2d0000"' + - '"d900bdd8-0000-0200-0000-67da7cb20000"' expires: - '-1' pragma: @@ -39,9 +39,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 2A2A6A95B78343A7A964F5D0D5A4F366 Ref B: MAA201060514023 Ref C: 2025-03-19T07:03:19Z' + - 'Ref A: A616C0D56707431CA93F8274BA31349A Ref B: MAA201060515017 Ref C: 2025-03-19T08:13:48Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://29eea606-0b61-4183-929d-de3dcf6e039f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://d9a75b6c-936b-4ed6-8d82-a364caf44a32.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: test-trigger-id-update @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:20 GMT + - Wed, 19 Mar 2025 08:13:50 GMT mise-correlation-id: - - 3c2310fd-d28e-4567-8f74-dc0f19d72e0b + - 8168c9a7-9c3c-4bc0-80c4-c0d2a92cf8c6 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070320Z-18477bc996c8wq9dhC1SG1e2t000000003x000000000p1v2 + - 20250319T081349Z-r1bf87c64574hs45hC1SG1nrp000000003eg000000003dna x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T07:02:36Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T08:13:05Z", "state": "Active", "displayName": "Update Trigger", "description": "Trigger schedule for update test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://29eea606-0b61-4183-929d-de3dcf6e039f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://d9a75b6c-936b-4ed6-8d82-a364caf44a32.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:20.926Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:20.926Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T08:13:50.421Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:50.421Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:21 GMT + - Wed, 19 Mar 2025 08:13:50 GMT location: - - https://29eea606-0b61-4183-929d-de3dcf6e039f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + - https://d9a75b6c-936b-4ed6-8d82-a364caf44a32.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview mise-correlation-id: - - d5b13fc0-3736-47fa-88e8-46309234a0a6 + - 375b263c-7604-4ddd-a2b9-eaa0f860bb7d strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070320Z-18477bc996c8wq9dhC1SG1e2t000000003x000000000p1yn + - 20250319T081350Z-r1bf87c64574hs45hC1SG1nrp000000003eg000000003dpu x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,18 +154,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.585053Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.585053Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"29eea606-0b61-4183-929d-de3dcf6e039f.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:14.7758883Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:14.7758883Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"d9a75b6c-936b-4ed6-8d82-a364caf44a32.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '663' + - '665' content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:21 GMT + - Wed, 19 Mar 2025 08:13:50 GMT etag: - - '"d60089a5-0000-0200-0000-67da6c2d0000"' + - '"d900bdd8-0000-0200-0000-67da7cb20000"' expires: - '-1' pragma: @@ -179,9 +179,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 573267E6EA2C4B8AA6D6C00B2A05FFE3 Ref B: MAA201060513045 Ref C: 2025-03-19T07:03:21Z' + - 'Ref A: 21FF39AF848C4465913F180AE90D5A8A Ref B: MAA201060516019 Ref C: 2025-03-19T08:13:50Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://29eea606-0b61-4183-929d-de3dcf6e039f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://d9a75b6c-936b-4ed6-8d82-a364caf44a32.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:20.926Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:20.926Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T08:13:50.421Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:50.421Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:23 GMT + - Wed, 19 Mar 2025 08:13:52 GMT mise-correlation-id: - - b0598c71-a536-4af2-a34a-7b4ec54405ef + - 44a6abf5-0f9e-4c03-92c2-ab99d6b8a62a strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070322Z-18477bc996cclmt4hC1SG1728c00000003y000000000mbup + - 20250319T081351Z-r1bf87c6457mxg5mhC1SG1uyvs00000007xg0000000087v2 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -232,7 +232,7 @@ interactions: - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": {"frequency": "Weekly", "interval": 1, "daysOfWeek": ["Monday"]}, "startDateTime": - "2025-03-19T07:02:36Z", "displayName": "Update Trigger", "description": "Trigger + "2025-03-19T08:13:05Z", "displayName": "Update Trigger", "description": "Trigger schedule for update test case", "state": "Active"}' headers: Accept: @@ -248,12 +248,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://29eea606-0b61-4183-929d-de3dcf6e039f.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview + uri: https://d9a75b6c-936b-4ed6-8d82-a364caf44a32.eastus.cnt-prod.loadtesting.azure.com/triggers/test-trigger-id-update?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-24T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Weekly","daysOfWeek":["Monday"],"interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-24T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"test-trigger-id-update","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:20.926Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:23.521Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T08:13:50.421Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:52.65Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -262,17 +262,17 @@ interactions: connection: - keep-alive content-length: - - '552' + - '551' content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:23 GMT + - Wed, 19 Mar 2025 08:13:52 GMT mise-correlation-id: - - 32c263b0-4213-4723-9ae0-c5318f4eca77 + - 0a7f8345-7402-4d66-9658-ec7d666e5da1 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070323Z-18477bc996cclmt4hC1SG1728c00000003y000000000mbyy + - 20250319T081352Z-r1bf87c6457mxg5mhC1SG1uyvs00000007xg0000000087xg x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml index 4c0361159fc..27cbb244536 100644 --- a/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml +++ b/src/load/azext_load/tests/latest/recordings/test_update_trigger_schedule_invalid_cases.yaml @@ -14,7 +14,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.9973835Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.9973835Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:13.6743145Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:13.6743145Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"b3df55b7-ab6f-4e6c-9470-9ec8da7c6ff0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -23,9 +23,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:19 GMT + - Wed, 19 Mar 2025 08:13:47 GMT etag: - - '"d60087a5-0000-0200-0000-67da6c2d0000"' + - '"d900a7d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -41,7 +41,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: A614B8AC68CC4E77A944ED1ACA02917B Ref B: MAA201060513027 Ref C: 2025-03-19T07:03:19Z' + - 'Ref A: 70F844E0D86E4408A7320C38FC28E8BB Ref B: MAA201060516017 Ref C: 2025-03-19T08:13:46Z' status: code: 200 message: OK @@ -57,7 +57,7 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://b3df55b7-ab6f-4e6c-9470-9ec8da7c6ff0.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: string: '{"error":{"code":"TriggerNotFound","message":"Trigger with Id: update-invalid-trigger @@ -70,15 +70,15 @@ interactions: content-type: - application/json date: - - Wed, 19 Mar 2025 07:03:21 GMT + - Wed, 19 Mar 2025 08:13:48 GMT mise-correlation-id: - - 94fa09aa-6163-4eaa-94ca-d2a681671251 + - e670f58b-d6ab-4e58-a7cb-33622ab242d9 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: - chunked x-azure-ref: - - 20250319T070320Z-18477bc996crszl4hC1SG168uc00000003z000000000dqcd + - 20250319T081347Z-r1bf87c6457wp5w4hC1SG1u5yc0000000dh000000000ega6 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -90,7 +90,7 @@ interactions: message: Not Found - request: body: '{"kind": "ScheduleTestsTrigger", "testIds": ["test-id-update"], "recurrence": - {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T07:02:36Z", + {"frequency": "Daily", "interval": 1}, "startDateTime": "2025-03-19T08:13:05Z", "state": "Active", "displayName": "Update Trigger", "description": "Trigger schedule for update test case"}' headers: @@ -107,12 +107,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: PATCH - uri: https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://b3df55b7-ab6f-4e6c-9470-9ec8da7c6ff0.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.274Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.274Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T08:13:48.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:48.302Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: api-supported-versions: - 2024-07-01-preview, 2024-12-01-preview, 2025-03-01-preview @@ -123,15 +123,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:21 GMT + - Wed, 19 Mar 2025 08:13:48 GMT location: - - https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + - https://b3df55b7-ab6f-4e6c-9470-9ec8da7c6ff0.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview mise-correlation-id: - - 44cda280-7b0a-4d9a-97a1-e3424ca4f9ed + - 1d8db4d2-5816-4b86-a7c1-ee0cd9540b71 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070321Z-18477bc996crszl4hC1SG168uc00000003z000000000dqfc + - 20250319T081348Z-r1bf87c6457wp5w4hC1SG1u5yc0000000dh000000000egcg x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -154,7 +154,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.9973835Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.9973835Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:13.6743145Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:13.6743145Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"b3df55b7-ab6f-4e6c-9470-9ec8da7c6ff0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -163,9 +163,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:21 GMT + - Wed, 19 Mar 2025 08:13:49 GMT etag: - - '"d60087a5-0000-0200-0000-67da6c2d0000"' + - '"d900a7d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -179,9 +179,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: C54F63F86EA144A8BE11C9AA6A24DB37 Ref B: MAA201060513011 Ref C: 2025-03-19T07:03:21Z' + - 'Ref A: 3C5803459CC14322AA3407C7C6AD9D2B Ref B: MAA201060513027 Ref C: 2025-03-19T08:13:48Z' status: code: 200 message: OK @@ -197,12 +197,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://b3df55b7-ab6f-4e6c-9470-9ec8da7c6ff0.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.274Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.274Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T08:13:48.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:48.302Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -215,13 +215,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:23 GMT + - Wed, 19 Mar 2025 08:13:50 GMT mise-correlation-id: - - a0e7c111-1925-49b1-a807-8a6bfba412e9 + - 32b8556c-00b5-44a5-9997-162d98be79e6 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070322Z-18477bc996c8769chC1SG17fqs00000003zg00000000cmyf + - 20250319T081349Z-18477bc996c8769chC1SG17fqs00000003zg00000000ynhh x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -244,7 +244,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.9973835Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.9973835Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:13.6743145Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:13.6743145Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"b3df55b7-ab6f-4e6c-9470-9ec8da7c6ff0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -253,9 +253,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:24 GMT + - Wed, 19 Mar 2025 08:13:51 GMT etag: - - '"d60087a5-0000-0200-0000-67da6c2d0000"' + - '"d900a7d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -271,7 +271,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 68DC2D6143494192AE17D534148BA16F Ref B: MAA201060515027 Ref C: 2025-03-19T07:03:23Z' + - 'Ref A: 99D5EAEF9897459FA3B628BF4AE3A28B Ref B: MAA201060513011 Ref C: 2025-03-19T08:13:50Z' status: code: 200 message: OK @@ -287,12 +287,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://b3df55b7-ab6f-4e6c-9470-9ec8da7c6ff0.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.274Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.274Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T08:13:48.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:48.302Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -305,13 +305,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:25 GMT + - Wed, 19 Mar 2025 08:13:52 GMT mise-correlation-id: - - 4dcc3122-13db-42b2-a966-1840d15d072b + - 14a82046-f296-48e5-bd46-28ec5febf355 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070324Z-18477bc996cqfz4fhC1SG1ugpc00000003wg00000000ru4u + - 20250319T081351Z-18477bc996cqfz4fhC1SG1ugpc000000044g00000000asa5 x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -334,7 +334,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.9973835Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.9973835Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:13.6743145Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:13.6743145Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"b3df55b7-ab6f-4e6c-9470-9ec8da7c6ff0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -343,9 +343,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:26 GMT + - Wed, 19 Mar 2025 08:13:53 GMT etag: - - '"d60087a5-0000-0200-0000-67da6c2d0000"' + - '"d900a7d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -361,7 +361,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 2D48C4592A9F4294A9B825F50FEB5D90 Ref B: MAA201060515025 Ref C: 2025-03-19T07:03:25Z' + - 'Ref A: 1206D9A4B08140D1825EF7CF714CA0C0 Ref B: MAA201060513025 Ref C: 2025-03-19T08:13:52Z' status: code: 200 message: OK @@ -377,12 +377,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://b3df55b7-ab6f-4e6c-9470-9ec8da7c6ff0.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.274Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.274Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T08:13:48.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:48.302Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -395,13 +395,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:27 GMT + - Wed, 19 Mar 2025 08:13:54 GMT mise-correlation-id: - - 5e3fbaae-e1ef-4cde-84f0-9531c41f2670 + - 36203f19-bc0a-48f0-b9c2-4c0987bc56b0 strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070326Z-18477bc996cpf7dhhC1SG1fbe4000000042g000000000hmf + - 20250319T081353Z-18477bc996c7789nhC1SG1cyf8000000044g00000000ag5k x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -424,7 +424,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.9973835Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.9973835Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:13.6743145Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:13.6743145Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"b3df55b7-ab6f-4e6c-9470-9ec8da7c6ff0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -433,9 +433,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:28 GMT + - Wed, 19 Mar 2025 08:13:54 GMT etag: - - '"d60087a5-0000-0200-0000-67da6c2d0000"' + - '"d900a7d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -451,7 +451,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: D10F482D62AA4010AB2573E1599F9110 Ref B: MAA201060514035 Ref C: 2025-03-19T07:03:27Z' + - 'Ref A: DD47264939B74C90A582BCD9B2BA2B62 Ref B: MAA201060515019 Ref C: 2025-03-19T08:13:54Z' status: code: 200 message: OK @@ -467,12 +467,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://b3df55b7-ab6f-4e6c-9470-9ec8da7c6ff0.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.274Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.274Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T08:13:48.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:48.302Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -485,13 +485,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:29 GMT + - Wed, 19 Mar 2025 08:13:55 GMT mise-correlation-id: - - 8c7bac76-a4db-41d2-a575-78e31cc28757 + - e61ada95-cd26-41d9-b976-124d1d43c1be strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070328Z-18477bc996cf8wxshC1SG1rav400000003wg00000000ttak + - 20250319T081355Z-18477bc996crszl4hC1SG168uc0000000470000000001csk x-cache: - CONFIG_NOCACHE x-content-type-options: @@ -514,7 +514,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002?api-version=2022-12-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T07:02:45.9973835Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T07:02:45.9973835Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest-schedule-000001/providers/Microsoft.LoadTestService/loadTests/clitest-schedule-000002","name":"clitest-schedule-000002","type":"microsoft.loadtestservice/loadtests","location":"eastus","systemData":{"createdBy":"hbisht@microsoft.com","createdByType":"User","createdAt":"2025-03-19T08:13:13.6743145Z","lastModifiedBy":"hbisht@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-19T08:13:13.6743145Z"},"identity":{"type":"None"},"properties":{"dataPlaneURI":"b3df55b7-ab6f-4e6c-9470-9ec8da7c6ff0.eastus.cnt-prod.loadtesting.azure.com","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -523,9 +523,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:29 GMT + - Wed, 19 Mar 2025 08:13:56 GMT etag: - - '"d60087a5-0000-0200-0000-67da6c2d0000"' + - '"d900a7d8-0000-0200-0000-67da7cb10000"' expires: - '-1' pragma: @@ -541,7 +541,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: F6F9F64A364F4025865C0E4125C3D9AF Ref B: MAA201060516033 Ref C: 2025-03-19T07:03:29Z' + - 'Ref A: 95CB078BAC7D45159A3DB7E74A9DE3DD Ref B: MAA201060515047 Ref C: 2025-03-19T08:13:55Z' status: code: 200 message: OK @@ -557,12 +557,12 @@ interactions: User-Agent: - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.8 (Linux-6.8.0-1021-azure-x86_64-with-glibc2.36) method: GET - uri: https://10957284-8cae-4165-a55d-eb2a8f68b94b.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview + uri: https://b3df55b7-ab6f-4e6c-9470-9ec8da7c6ff0.eastus.cnt-prod.loadtesting.azure.com/triggers/update-invalid-trigger?api-version=2024-12-01-preview response: body: - string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T07:02:36Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T07:02:36Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update + string: '{"testIds":["test-id-update"],"startDateTime":"2025-03-19T08:13:05Z","recurrence":{"frequency":"Daily","interval":1},"recurrenceStatus":{"nextScheduledDateTimes":["2025-03-20T08:13:05Z"]},"kind":"ScheduleTestsTrigger","displayName":"Update Trigger","triggerId":"update-invalid-trigger","description":"Trigger schedule - for update test case","state":"Active","createdDateTime":"2025-03-19T07:03:21.274Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T07:03:21.274Z","lastModifiedBy":"hbisht@microsoft.com"}' + for update test case","state":"Active","createdDateTime":"2025-03-19T08:13:48.302Z","createdBy":"hbisht@microsoft.com","lastModifiedDateTime":"2025-03-19T08:13:48.302Z","lastModifiedBy":"hbisht@microsoft.com"}' headers: accept-ranges: - bytes @@ -575,13 +575,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 19 Mar 2025 07:03:30 GMT + - Wed, 19 Mar 2025 08:13:57 GMT mise-correlation-id: - - 62ed2fee-5609-4224-801d-55afcaa0167f + - 96759ba4-20bc-4996-b2fc-c77dfdc39c3f strict-transport-security: - max-age=31536000; includeSubDomains x-azure-ref: - - 20250319T070330Z-18477bc996cxk5l8hC1SG1wnx0000000041g000000004h8b + - 20250319T081356Z-18477bc996cplk7jhC1SG12qn8000000041g00000000qra9 x-cache: - CONFIG_NOCACHE x-content-type-options: diff --git a/src/load/azext_load/tests/latest/test_load_trigger_schedule.py b/src/load/azext_load/tests/latest/test_load_trigger_schedule.py index 26f0b966299..5d3cbe12a61 100644 --- a/src/load/azext_load/tests/latest/test_load_trigger_schedule.py +++ b/src/load/azext_load/tests/latest/test_load_trigger_schedule.py @@ -1,4 +1,5 @@ # -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------------------------------