Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(uat): add T22 scenario with steps for large message #374

Conversation

auarbekov
Copy link

@auarbekov auarbekov commented Jul 18, 2023

Issue #, if available:
add T22 scenario

Description of changes:

  • Add T22 scenario
  • Add receive step for large message
  • Add publish step for large message

Why is this change necessary:
Implement scenarios

How was this change tested:
Run scenario on CodeBuild

Test results:

Given my device is registered as a Thing....................................passed
And my device is running Greengrass.........................................passed
When I create a Greengrass deployment with components.......................passed
And I create client device "large_payload_publisher"........................passed
When I associate "large_payload_publisher" with ggc.........................passed
And I update my Greengrass deployment configuration, setting the component aws.greengrass.clientdevices.Auth configuration to:.passed
And I update my Greengrass deployment configuration, setting the component aws.greengrass.client.Mqtt5JavaSdkClient configuration to:.passed
And I update my Greengrass deployment configuration, setting the component aws.greengrass.clientdevices.mqtt.Bridge configuration to:.passed
And I deploy the Greengrass deployment configuration........................passed
Then the Greengrass deployment is COMPLETED on the device after 5 minutes...passed
And the aws.greengrass.clientdevices.mqtt.EMQX log on the device contains the line "is running now!." within 1 minutes.passed
And I discover core device broker as "default_broker" from "large_payload_publisher" in OTF.passed
And I connect device "large_payload_publisher" on aws.greengrass.client.Mqtt5JavaSdkClient to "default_broker" using mqtt "v5".passed
And I subscribe "large_payload_publisher" to "${large_payload_publisher}topic/to/iotcore" with qos 1.passed
When I publish from "large_payload_publisher" to "${large_payload_publisher}topic/to/iotcore" with qos 1 and large message with beginning of "Hello world1" with length 130098.passed
Then message beginning with "Hello world1" and with length 130098 received on "large_payload_publisher" from "${large_payload_publisher}topic/to/iotcore" topic within 10 seconds.passed
And I subscribe "large_payload_publisher" to "topic_for_large_message" with qos 0.passed
When I publish from "large_payload_publisher" to "topic_for_large_message" with qos 1 and large message with beginning of "Message Larger than 128KB" with length 140000.passed
Then message beginning with "Message Larger than 128KB" and with length 140000 received on "large_payload_publisher" from "topic_for_large_message" topic within 10 seconds.passed

Any additional information or context required to review the change:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@bgklika bgklika requested review from MikeDombo and jcosentino11 and removed request for MikeDombo July 18, 2023 15:30
@auarbekov auarbekov requested a review from MikeDombo July 21, 2023 07:59
@MikeDombo MikeDombo merged commit ec6dca9 into aws-greengrass:uat-dev Jul 21, 2023
6 of 7 checks passed
@auarbekov auarbekov deleted the GGMQ-204-implement-ggmq-scenario-based-on-ggad-1-t-22 branch July 21, 2023 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants