Class com.shengzhiai.yugu.stcompat.TtsClientTest

9

tests

0

failures

0

ignored

0.699s

duration

100%

successful

Tests

Test Duration Result
argumentsAndThreads 0.071s passed
asyncDeliversOnTheMainThread 0.089s passed
bodyCarriesOnlyTheFieldsSetAndIsSignedWithThem 0.066s passed
createFromTheEngineUsesItsKeysAddressAndTimeouts 0.092s passed
createNeedsAnInitialisedEngineOrCredentials 0.068s passed
oneInfoLinePerCallWithoutSecretsOrText 0.073s passed
platformAndNetworkErrorsBecomeYuguApiException 0.096s passed
retriesReuseTheIdempotencyKeyAndTheGivenKeyIsUsed 0.057s passed
urlsAreResolvedAgainstTheBase 0.087s passed

Standard error

D/YuguStCompat: POST http://127.0.0.1:8080/api/v1/tts/generate attempt 1/3 key=aedc72dddaeb4b769c0aecfbb667d18c 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=00222f873956472d8b1448a77ceedbc6 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=0
D/YuguStCompat: POST http://127.0.0.1:8080/api/v1/tts/generate attempt 1/3 key=b3be38f46e7346bfa39fce42f8770d30 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=3
D/YuguStCompat: POST http://127.0.0.1:8080/api/v1/tts/generate attempt 1/3 key=d1b141310d2946cbabfc34e6160654d9 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=a8a3bdc916ac43d8a57b583a2c5de99a 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=98ffa27432a34fc298df93afe5d2d45c 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=31ad575d4b754e6ba3de59af56ff187a 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=f5ce338ebf184d4d8c6917116b6756dd appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=2003 http=401 attempts=1 ms=3
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=d7bd461af03648639e8669cda3af7f3e 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=22a9b702d1734841a14eec8fb668b32f 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=22a9b702d1734841a14eec8fb668b32f 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=22a9b702d1734841a14eec8fb668b32f 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=df84895267a6420fab486164e6f71a8e 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=df84895267a6420fab486164e6f71a8e 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=df84895267a6420fab486164e6f71a8e appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=20009 http=429 attempts=3 ms=3
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=6caf96a6acf3428bada87a0cde24a0b3 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=4b368c874cf84b719ae674524f1f46a5 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=487c2fee5f684971a357eef9d6a7940f 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=c4abcb0310d74fbb8c6e651c101903c4 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=90011 http=0 attempts=1 ms=1
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=e38dbb88b50045b2a0c142e5d0e1f164 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=f4e465b07bcb458d80c27c4e3a874dea appKey=ak-t*** signed=[text]
I/YuguStCompat: tts status=error code=40001 http=400 attempts=1 ms=1
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=5d217abb2b944351943f41a6df8e0d9b appKey=engi*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=4
D/YuguStCompat: POST https://sandbox.example.com/api/v1/tts/generate attempt 1/3 key=2817cc809e104469a292c10a336366a1 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=de8ffd4b3fa84e62881742b9a0ce4d0d appKey=engi*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=2
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=62b694b26dfb4781a02674896282cc2a appKey=ak*** signed=[text, language, voice, format, speed, pitch, volume, sampleRate, emotion, pinyin, genre]
I/YuguStCompat: tts status=ok attempts=1 ms=6
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=ffe0e2fc2e044b4aab22fbc393d2df64 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=808f484a21d54aa396ab9cedeb1ecbee appKey=ak*** signed=[text]
I/YuguStCompat: tts status=ok attempts=1 ms=2
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=6e1e65a5ee7746899c936a4628cfa50e 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