Class com.shengzhiai.yugu.stcompat.TtsClientTest

9

tests

0

failures

0

ignored

0.622s

duration

100%

successful

Tests

Test Duration Result
argumentsAndThreads 0.064s passed
asyncDeliversOnTheMainThread 0.090s passed
bodyCarriesOnlyTheFieldsSetAndIsSignedWithThem 0.060s passed
createFromTheEngineUsesItsKeysAddressAndTimeouts 0.075s passed
createNeedsAnInitialisedEngineOrCredentials 0.057s passed
oneInfoLinePerCallWithoutSecretsOrText 0.060s passed
platformAndNetworkErrorsBecomeYuguApiException 0.098s passed
retriesReuseTheIdempotencyKeyAndTheGivenKeyIsUsed 0.048s passed
urlsAreResolvedAgainstTheBase 0.070s passed

Standard error

D/YuguStCompat: POST http://127.0.0.1:8080/api/v1/tts/generate attempt 1/3 key=f52f292638024e6186be8a43fec270b8 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=1
D/YuguStCompat: POST http://127.0.0.1:8080/api/v1/tts/generate attempt 1/3 key=b09e761b44d749648c381cb408c14eb6 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=1
D/YuguStCompat: POST http://127.0.0.1:8080/api/v1/tts/generate attempt 1/3 key=dddae741956e4d36822a14bbde78dacf appKey=ak*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=1
D/YuguStCompat: POST http://127.0.0.1:8080/api/v1/tts/generate attempt 1/3 key=57d75c4db900417e8d5729f723efe10a appKey=ak*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=1
D/YuguStCompat: POST http://127.0.0.1:8080/api/v1/tts/generate attempt 1/3 key=ba6c128136fb4d37be62e4cae57b809b appKey=ak*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=1
D/YuguStCompat: POST http://127.0.0.1:8080/api/v1/tts/generate attempt 1/3 key=22d961521c4f4d47b53748520e5d8eb6 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=1
D/YuguStCompat: POST http://127.0.0.1:8080/api/v1/tts/generate attempt 1/3 key=6851c388e0464c81bfbcbeaced81b541 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=1
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=96fc6f01fc7645bf8e53a5f9d3f2f526 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=2003 http=401 attempts=1 ms=1
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=7e7d618123d04dfbba1009c7a8a397f9 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=40300 http=200 attempts=1 ms=1
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=b6bc96b9d56a40d3a50fe6d33541f675 appKey=ak*** signed=[text]
W/YuguStCompat: retry 1/2 in 227 ms: NETWORK_ERROR
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 2/3 key=b6bc96b9d56a40d3a50fe6d33541f675 appKey=ak*** signed=[text]
W/YuguStCompat: retry 2/2 in 444 ms: NETWORK_ERROR
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 3/3 key=b6bc96b9d56a40d3a50fe6d33541f675 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=20009 http=0 attempts=3 ms=4
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=0fad26e046f441a9b9f438d27e5697cf appKey=ak*** signed=[text]
W/YuguStCompat: retry 1/2 in 177 ms: HTTP 429 code=42900
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 2/3 key=0fad26e046f441a9b9f438d27e5697cf appKey=ak*** signed=[text]
W/YuguStCompat: retry 2/2 in 346 ms: HTTP 429 code=42900
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 3/3 key=0fad26e046f441a9b9f438d27e5697cf appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=20009 http=429 attempts=3 ms=1
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=549b5057dce7460fad096bbd0b6afdc8 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=90005 http=200 attempts=1 ms=1
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=c2fcca34d0ea47a9b4b1cf5121229155 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=90005 http=200 attempts=1 ms=2
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=4acb2cb0cf674739a76e04a52c2222b0 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=40400 http=404 attempts=1 ms=1
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=91d45fd400a1448a870efda7bc0f8b45 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=90011 http=0 attempts=1 ms=2
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=9c283d8231ea42b4bf8153079b84fc62 appKey=ak-t*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=1
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=e723041894944bee9dc114ed0c08d234 appKey=ak-t*** signed=[text]
I/YuguStCompat: tts status=error code=40001 http=400 attempts=1 ms=0
I/YuguStCompat: engine ready: appKey=engi*** base=http://10.0.0.1:8080 version=yugu-stkouyu-compat/2.3.0 (api 1.0.62)
D/YuguStCompat: POST http://10.0.0.1:8080/api/v1/tts/generate attempt 1/3 key=97bfe6c40c1c4022a43306589be8ae3f appKey=engi*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=1
D/YuguStCompat: POST https://sandbox.example.com/api/v1/tts/generate attempt 1/3 key=0afc69fe2eeb41c7a3b65f0c5bc0e458 appKey=engi*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=2
D/YuguStCompat: POST https://sandbox.example.com/api/v1/tts/generate attempt 1/3 key=959f6cdd90f5411f8e8cb9ee199d47cc appKey=engi*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=1
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=a7226e00ec554ed2b807645d4d56e01f appKey=ak*** signed=[text, language, voice, format, speed, pitch, volume, sampleRate, emotion, pinyin, genre]
I/YuguStCompat: tts status=ok attempts=1 ms=1
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=dc74517f97d54969ae11518debef5bce appKey=ak*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=1
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=f9495f3757b544f78df3f2dc299d63cf appKey=ak*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=0
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=721ea7d6f7ba42369cce9d24c65ee692 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=40001 http=400 attempts=1 ms=1
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=order-42 appKey=ak*** signed=[text]
W/YuguStCompat: retry 1/2 in 227 ms: HTTP 503 code=50200
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 2/3 key=order-42 appKey=ak*** signed=[text]
W/YuguStCompat: retry 2/2 in 444 ms: TIMEOUT
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 3/3 key=order-42 appKey=ak*** signed=[text]
I/YuguStCompat: response replayed for Idempotency-Key order-42
I/YuguStCompat: tts status=ok attempts=3 replayed ms=1