Class com.shengzhiai.yugu.stcompat.TtsClientTest

9

tests

0

failures

0

ignored

0.525s

duration

100%

successful

Tests

Test Duration Result
argumentsAndThreads 0.041s passed
asyncDeliversOnTheMainThread 0.108s passed
bodyCarriesOnlyTheFieldsSetAndIsSignedWithThem 0.046s passed
createFromTheEngineUsesItsKeysAddressAndTimeouts 0.084s passed
createNeedsAnInitialisedEngineOrCredentials 0.038s passed
oneInfoLinePerCallWithoutSecretsOrText 0.049s passed
platformAndNetworkErrorsBecomeYuguApiException 0.056s passed
retriesReuseTheIdempotencyKeyAndTheGivenKeyIsUsed 0.048s passed
urlsAreResolvedAgainstTheBase 0.055s passed

Standard error

D/YuguStCompat: POST http://127.0.0.1:8080/api/v1/tts/generate attempt 1/3 key=5de598e8016f4a898255bdbf71ae996e appKey=ak*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=2
D/YuguStCompat: POST http://127.0.0.1:8080/api/v1/tts/generate attempt 1/3 key=5374f59870b54aa88bad0a65c89f7e27 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=8a35e1b8e2284367b61323ed4faf05cb 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=0bfec7eda2aa4c988b0abc0d44a8b059 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=2c609be720e04a7db33737545b4bf2eb 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=674855a9dd7b4d22b2601f7eebd3353a 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=74be98c94def44e29a0dfc3344477f32 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=891227a7d9a44338a8e94237cb66d5a3 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=1bc11eb172964b848c568c6202ca14aa 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=1aceb769dfa84e39a14bc8fba3235388 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=1aceb769dfa84e39a14bc8fba3235388 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=1aceb769dfa84e39a14bc8fba3235388 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=20009 http=0 attempts=3 ms=1
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=dd333cec6d624497902c2c8f59997d18 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=dd333cec6d624497902c2c8f59997d18 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=dd333cec6d624497902c2c8f59997d18 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=78cbc0f099ea49a68984de4580ab7ac1 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=dd83026bd76e4b738ee842088bde86b8 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=24912b271a9747d7a1d4028339db794b 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=9dde2bfab4cd4c17939f262f39171d82 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=90011 http=0 attempts=1 ms=0
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=88f6421712fe41b987dec3028e9642c8 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=3458f4baa98c4962af9a00def12dcfae 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=fcd8b589923646a98763f89d471393c7 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=858ffbed1c8d485685864e5bf0069429 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=51653c08a7e94efcb773e935c9408f44 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=21519d95d8834c51956f578fb2842502 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=be65896b2fca467c99ad4215aab42ae2 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=0810b125d7934b60b513e67bd16d9d9b 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=8dea420430804a18bac2685d3d1a0f90 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=40001 http=400 attempts=1 ms=0
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=2