Package: azure-test-cli
azure-test-cliCommand line interface to test azure resources, such as servicebus,
eventhub, blob storate, queue storage, and table storage.Installpip installpipinstallazure-test-cliManuallygit clone https://github.com/wildengineer/azure-test-cli.git
cd azure-test-cli
install_cli.shUseinstall_cli.sh -oif you want to override an existing install of the cli.UsageAzure StorageProvides many tests for testing storage resourcesUsage: aztest storage [OPTIONS] COMMAND [ARGS]...

  Perform blobstorage tests

Options:
  --help  Show this message and exit.

Commands:
  appendblob  Perform append blob tests
  blockblob   Perform block blob testsBlockBlob SubcommandsUsage: aztest storage blockblob [OPTIONS] COMMAND [ARGS]...

  Perform block blob tests

Options:
  --help  Show this message and exit.

Commands:
  download  Download content to a block blob
  upload    Upload file to a block blobUploadUsage:azteststorageblockblobupload[OPTIONS]Uploadfiletoablockblob

Options:-a,--storage_accountTEXTNameofblobaccount[required]-k,--storage_keyTEXTStorageaccesskey[required]-c,--containerTEXTBlobcontainername[required]-b,--pathTEXTBlobpathofuploadedfile[required]-f,--fileTEXTContenttouploadtopath[required]--helpShowthismessageandexit.DownloadUsage:azteststorageblockblobdownload[OPTIONS]Downloadcontenttoablockblob

Options:-a,--storage_accountTEXTNameofblobaccount[required]-k,--storage_keyTEXTStorageaccesskey[required]-c,--containerTEXTBlobcontainername[required]-b,--pathTEXTBlobpathofuploadedfile[required]-f,--fileTEXTContenttouploadtopath[required]--helpShowthismessageandexit.AppendBlob SubcommandsUsage: aztest storage appendblob [OPTIONS] COMMAND [ARGS]...

  Perform append blob tests

Options:
  --help  Show this message and exit.

Commands:
  append    Upload content to an append blob
  delete    Delete an append blob
  download  Download append blob to local file
  stream    Stream append blob to outputAppendAppend a file to an append blob. If the append blob doesn't exist,
then it's created.Usage: aztest storage appendblob append [OPTIONS]

  Upload content to an append blob

Options:
  -a, --storage_account TEXT  Name of blob account  [required]
  -k, --storage_key TEXT      Name of SAS policy with write access  [required]
  -c, --container TEXT        Blob container name  [required]
  -b, --blob_path TEXT        Blob path of uploaded file  [required]
  -f, --file_path TEXT        Content to upload to path  [required]
  -r, --repeat INTEGER        Count of times to repeat the append the content
  --help                      Show this message and exit.StreamStream a blob to stdout. After a timeout the operation will exit. Allows for viewing live
appends.Usage:azteststorageappendblobstream[OPTIONS]Streamappendblobtooutput

Options:-a,--storage_accountTEXTNameofblobaccount[required]-k,--storage_keyTEXTNameofSASpolicywithwriteaccess[required]-c,--containerTEXTBlobcontainername[required]-b,--blob_pathTEXTBlobpathofuploadedfile[required]--helpShowthismessageandexit.DownloadDownload a file from an append blob.Usage:azteststorageappendblobdownload[OPTIONS]Downloadappendblobtolocalfile

Options:-a,--storage_accountTEXTNameofblobaccount[required]-k,--storage_keyTEXTNameofSASpolicywithwriteaccess[required]-c,--containerTEXTBlobcontainername[required]-b,--blob_pathTEXTBlobpathofuploadedfile[required]-f,--file_pathTEXTContenttouploadtopath[required]--helpShowthismessageandexit.DeleteDelete an append blob.Usage:azteststorageappendblobdelete[OPTIONS]Deleteanappendblob

Options:-a,--storage_accountTEXTNameofblobaccount[required]-k,--storage_keyTEXTNameofaccesskey[required]-c,--containerTEXTBlobcontainername[required]-b,--blob_pathTEXTBlobpathoffile[required]--helpShowthismessageandexit.EventhubProvides several tests for azure eventhub.Usage:aztesteventhub[OPTIONS]COMMAND[ARGS]...Performeventhubtests

Options:--helpShowthismessageandexit.

Commands:receiveReceivemessagesfromeventhubsendSendmessagestoeventhubSendUsage:aztesteventhubsend[OPTIONS]Sendmessagestoeventhub

Options:-s,--eventhub_namespaceTEXTNameofeventhubnamespace[required]-n,--eventhub_nameTEXTNameofeventhub[required]-p,--eventhub_sas_nameTEXTNameofeventhubSASpolicywithsendrights[required]-k,--eventhub_sas_keyTEXTKeyvalueofeventhubSASpolicywithsendrights[required]-m,--messageTEXTMessagetosend.Mustbeinquotes[required]-r,--repeatINTEGERCountoftimestorepeatthesendofthemessage--helpShowthismessageandexit.ReceiveUsage:aztesteventhubreceive[OPTIONS]Receivemessagesfromeventhub

Options:-s,--eventhub_namespaceTEXTNameofeventhubnamespace[required]-n,--eventhub_nameTEXTNameofeventhub[required]-p,--eventhub_sas_nameTEXTNameofeventhubSASpolicywithlistenrights[required]-k,--eventhub_sas_keyTEXTKeyvalueofeventhubSASpolicywithlistenrights[required]-c,--consumer_groupTEXTNameofeventhubconsumergroup[required]--helpShowthismessageandexit.Service BusProvides several tests for azure service bus.Usage:aztestservicebus[OPTIONS]COMMAND[ARGS]...Performservicebustests

Options:--helpShowthismessageandexit.

Commands:queuePerformservicebusqueueteststopicPerformservicebustopictestsQueue SubcommandsUsage:aztestservicebusqueue[OPTIONS]COMMAND[ARGS]...Performservicebusqueuetests

Options:--helpShowthismessageandexit.

Commands:receiveReceivemessagesontoservicebusqueuesendSendmessagesontoservicebusqueueSendUsage:aztestservicebusqueuesend[OPTIONS]Sendmessagesontoservicebusqueue

Options:-s,--servicebus_namespaceTEXTNameofservicebusnamespace[required]-n,--servicebus_queue_nameTEXTNameofqueue[required]-p,--servicebus_sas_nameTEXTNameofservicebusSASpolicywithsendaccess[required]-k,--servicebus_sas_keyTEXTKeyvalueofservicebusSASpolicywithsendaccess[required]-m,--messageTEXTMessagetosend.Mustbeinquotes[required]-r,--repeatINTEGERCountoftimestorepeatthesendofthemessage--helpShowthismessageandexit.ReceiveUsage:aztestservicebusqueuereceive[OPTIONS]Receivemessagesontoservicebusqueue

Options:-s,--servicebus_namespaceTEXTNameofservicebusnamespace[required]-n,--servicebus_queue_nameTEXTNameofqueue[required]-p,--servicebus_sas_nameTEXTNameofservicebusSASpolicywithlistenaccess[required]-k,--servicebus_sas_keyTEXTKeyvalueofservicebusSASpolicywithlistenaccess[required]--helpShowthismessageandexit.