Class com.shengzhiai.yugu.stcompat.TtsClientTest

9

tests

0

failures

0

ignored

0.424s

duration

100%

successful

Tests

Test Duration Result
argumentsAndThreads 0.038s passed
asyncDeliversOnTheMainThread 0.077s passed
bodyCarriesOnlyTheFieldsSetAndIsSignedWithThem 0.040s passed
createFromTheEngineUsesItsKeysAddressAndTimeouts 0.048s passed
createNeedsAnInitialisedEngineOrCredentials 0.035s passed
oneInfoLinePerCallWithoutSecretsOrText 0.040s passed
platformAndNetworkErrorsBecomeYuguApiException 0.056s passed
retriesReuseTheIdempotencyKeyAndTheGivenKeyIsUsed 0.042s passed
urlsAreResolvedAgainstTheBase 0.048s passed

Standard error

D/YuguStCompat: POST http://127.0.0.1:8080/api/v1/tts/generate attempt 1/3 key=27db2555404c4379999536cc1a71146c 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=fd3cb51711c441538787bc1ed6f3cf58 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=186453d5d93e40848b6270d02352ffd6 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=6910d68026424be99deaf0b403dba11e 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=004b3910b1734889ac4e7e661a9b8282 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=9853be20f03642d7a394f3a46a7f3b5b 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=5732b4a95ab243939c41b7c61684eb2b 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=9204dcc527a64c128f3ecc5f64120eba 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=2b87cb74347a4783916938dee195b3a5 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=8384349bc48849419636cdeb34e21a46 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=8384349bc48849419636cdeb34e21a46 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=8384349bc48849419636cdeb34e21a46 appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=20009 http=0 attempts=3 ms=2
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=aae102c42c2f4f449e86f04e623ea71e 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=aae102c42c2f4f449e86f04e623ea71e 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=aae102c42c2f4f449e86f04e623ea71e appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=20009 http=429 attempts=3 ms=2
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=0036f55a05734ebeb877be6d5d152132 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=8a3e18d6c3d44f03b666c51d7c611a6b 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=fa98e723692b4000ad35198679514eff appKey=ak*** signed=[text]
I/YuguStCompat: tts status=error code=40400 http=404 attempts=1 ms=0
D/YuguStCompat: POST https://open.shengzhiai.com/api/v1/tts/generate attempt 1/3 key=89f64f5fb107499e9f1b43722029ad3b 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=6a0262a78b794f19be35e9ec46205b78 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=efda33e5bb9246d0bf9fb116bc5096ae 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=e261554d234a4a9dbabf1a8d205fdd6a 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=e7e52c38e2ea42cd9e06a1fafec33879 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=09109536432545ea881c7295c7d0c959 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=9876e9d97883403687f6ddefd56814ba 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=17d6013ff4a241ec941d9f0e56fb1cb5 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=ffc5d3b87a6848e1ae3a9ebda3ca70dd 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=122d96f764b64bc1a101b9468e33eeef 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