Posts

Showing posts from November, 2022

Jmeter-CheatSheet

Image
  Functions and Variables  Jmeter Time - ${__time(dd/MM/yyyy hh:mm:ss)} UUID - ${__UUID()}  Email (Random) - ${__V(${__UUID()}${__Random(1,90000000,)}@gmail.com)} Random - ${__Random(0,10)}  Random Date - ${__RandomDate(,,2050-07-08,,)}  Random String - ${__RandomString(10,abcdefg)}  Time shift - ${__timeShift(dd/MM/yyyy,21/01/2018,P2D,,)}  Convert epoch - ${__dateTimeConvert(1526574881000,,dd/MM/yyyy HH:mm,)}  Upper Case - ${__changeCase(Avaro omnia desunt\, inopi pauca\, sapienti nihil,UPPER,)} Lower Case - ${__changeCase(LABOR OMNIA VINCIT IMPROBUS,LOWER,)}  URL encode - ${__urlencode(Word "school" is "école" in french)}  URL decode - ${__urldecode(Word+%22school%22+is+%22%C3%A9cole%22+in+french)}  Thread Num - ${__threadNum}  Thread Group - ${__threadGroupName}  Escape HTML - ${__escapeHtml("bread" & "butter")}  Unescape HTML - ${__unescapeHtml(<Français>)}  CRLF - ${__unescape(\r\n)} Split - ${__sp...

JMETER-DSL | Java Coded Framework for Performance testing using jmeter

  Releases · abstracta/jmeter-java-dsl (github.com) User guide | jmeter-java-dsl (abstracta.github.io)

Connect Azure KeyVault in Azure China or other Azure Version

 https://stackoverflow.com/questions/71846554/connect-to-keyvault-in-azure-china https://learn.microsoft.com/en-us/dotnet/api/azure.identity.azureauthorityhosts?view=azure-dotnet Azure China The host of the Azure Active Directory authority for tenants in the Azure China Cloud. Azure Germany The host of the Azure Active Directory authority for tenants in the Azure German Cloud. Azure Government The host of the Azure Active Directory authority for tenants in the Azure US Government Cloud. Azure Public Cloud The host of the Azure Active Directory authority for tenants in the Azure Public Cloud. var clientSecretCredentialOptions = new ClientSecretCredentialOptions() { AuthorityHost = AzureAuthorityHosts.AzureChina }; ClientSecretCredential clientCredential = new (options.KeyVaultTenantId, options.KeyVaultClientId, options.KeyVaultClientSecret, clientSecretCredentialOptions); KeyVaultCertificateWithPolicy rootCertificate = new CertificateClient(vaultUri, _clientCredential).GetC...