or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/azure-servicebus@7.14.x
tile.json

tessl/pypi-azure-servicebus

tessl install tessl/pypi-azure-servicebus@7.14.0

Microsoft Azure Service Bus Client Library for Python providing comprehensive messaging capabilities for enterprise applications.

Agent Success

Agent success rate when using this tile

92%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.01x

Baseline

Agent success rate without this tile

91%

task.mdevals/scenario-3/

Message Queue Diagnostics Tool

Build a diagnostic tool for troubleshooting Azure Service Bus message delivery issues. The tool should send test messages to a queue and capture detailed network trace information to help diagnose connectivity and messaging problems.

Requirements

Your tool should implement the following functionality:

Initialize Diagnostic Connection

Create a connection to Azure Service Bus that enables detailed diagnostic logging. The connection should capture network-level operations to help troubleshoot issues.

Send Test Messages

Send a series of test messages to a specified queue. Each message should contain diagnostic information including a timestamp and message sequence number.

Capture Connection Details

The tool should log sufficient diagnostic information to help identify:

  • Connection establishment details
  • Message transmission details
  • Network protocol interactions
  • Any errors or warnings during operations

Command-line Interface

Implement a simple command-line tool that accepts:

  • Connection string (from environment variable or argument)
  • Queue name
  • Number of test messages to send

Implementation Guidelines

  • Use a standard logging framework to capture diagnostic output
  • Configure the connection to emit detailed trace information
  • Messages should be simple text with diagnostic metadata
  • Handle connection errors gracefully with appropriate error messages
  • Close connections properly after operations complete

Test Cases

  • When diagnostic logging is enabled, the tool successfully sends messages and detailed trace logs are captured including connection and protocol details @test
  • The tool sends the correct number of test messages to the queue with proper sequencing @test
  • Connection errors are caught and reported with helpful diagnostic information @test

Dependencies { .dependencies }

azure-servicebus { .dependency }

Provides messaging client capabilities for Azure Service Bus.