Generated by TestNG with ReportNG at 22:46 PDT on Sunday 13 June 2021
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.880s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.783s
2021-06-13 23:03:36 |

2021-06-13 23:03:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-06-13 23:03:36 | ------------------------------------

2021-06-13 23:03:36 | [Mutex] isItemNotified: node_kv094w0203:exists :: false

2021-06-13 23:03:36 | [Mutex] waiting for: [node_kv094w0203:create_node]

2021-06-13 23:03:36 | [Mutex] received everything.

2021-06-13 23:03:36 | [Mutex] isItemNotified: node_kv094w0203:create_node:success :: true

2021-06-13 23:03:36 | [Mutex] waiting for: [node_kv094w0203:subscribe_node]

2021-06-13 23:03:36 | [Mutex] received everything.

2021-06-13 23:03:36 | [Mutex] isItemNotified: node_kv094w0203:subscribe_node:success :: true

2021-06-13 23:03:36 |


===== publishing normal message (to online)


2021-06-13 23:03:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-13 23:03:36 | command: <data><node>node_kv094w0203</node><entry><content>content_h6efzs0204</content></entry></data>

2021-06-13 23:03:36 | target: http://localhost:8088

2021-06-13 23:03:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-13 23:03:36 | entity: <data><node>node_kv094w0203</node><entry><content>content_h6efzs0204</content></entry></data>

2021-06-13 23:03:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 06:03:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-13 23:03:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>18365d80-1d1c-46ce-9b65-5f91d7f18a6f</value></item-id></result>

2021-06-13 23:03:36 | contains: true

2021-06-13 23:03:36 | [Mutex] waiting for: [user_regularz73br90202@test-domain.com:message:received:content_h6efzs0204]

2021-06-13 23:03:36 | [Mutex] received everything.

2021-06-13 23:03:36 | [Mutex] isItemNotified: user_regularz73br90202@test-domain.com:message:received:content_h6efzs0204 :: true

2021-06-13 23:03:36 |


===== publishing already old message - expecting message being filtered out (to online)


2021-06-13 23:03:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-13 23:03:36 | command: <data><node>node_kv094w0203</node><expire-at>2021-06-14T06:03:31Z</expire-at><entry><content>content_gp93mo0205</content></entry></data>

2021-06-13 23:03:36 | target: http://localhost:8088

2021-06-13 23:03:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-13 23:03:36 | entity: <data><node>node_kv094w0203</node><expire-at>2021-06-14T06:03:31Z</expire-at><entry><content>content_gp93mo0205</content></entry></data>

2021-06-13 23:03:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 06:03:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-13 23:03:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>17f92665-75c3-4c90-aa1b-92d2332224f5</value></item-id></result>

2021-06-13 23:03:36 | contains: true

2021-06-13 23:03:36 | [Mutex] waiting for: [user_regularz73br90202@test-domain.com:message:received:content_gp93mo0205]

2021-06-13 23:03:51 | [Mutex] timeout. Not received [user_regularz73br90202@test-domain.com:message:received:content_gp93mo0205]

2021-06-13 23:03:51 | [Mutex] isItemNotified: user_regularz73br90202@test-domain.com:message:received:content_gp93mo0205 :: false

2021-06-13 23:03:51 |


===== publishing normal message (to offline)


2021-06-13 23:03:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-13 23:03:51 | command: <data><node>node_kv094w0203</node><entry><content>content_pgafau0206</content></entry></data>

2021-06-13 23:03:51 | target: http://localhost:8088

2021-06-13 23:03:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-13 23:03:51 | entity: <data><node>node_kv094w0203</node><entry><content>content_pgafau0206</content></entry></data>

2021-06-13 23:03:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 06:03:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-13 23:03:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>46a113b3-ebb9-4ce5-81e4-dfde90321350</value></item-id></result>

2021-06-13 23:03:51 | contains: true

2021-06-13 23:03:57 | [Mutex] waiting for: [user_regularz73br90202@test-domain.com:message:received:content_pgafau0206]

2021-06-13 23:03:57 | [Mutex] received everything.

2021-06-13 23:03:57 | [Mutex] isItemNotified: user_regularz73br90202@test-domain.com:message:received:content_pgafau0206 :: true

2021-06-13 23:03:57 |


===== publishing already old message - expecting message being filtered out (to offline)


2021-06-13 23:03:57 | [Mutex] received everything.

2021-06-13 23:03:57 | [Mutex] isItemNotified: node_kv094w0203:subscribe_node:success :: true

2021-06-13 23:03:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-13 23:03:57 | command: <data><node>node_kv094w0203</node><expire-at>2021-06-14T06:04:02Z</expire-at><entry><content>content_4yjmgx0207</content></entry></data>

2021-06-13 23:03:57 | target: http://localhost:8088

2021-06-13 23:03:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-13 23:03:57 | entity: <data><node>node_kv094w0203</node><expire-at>2021-06-14T06:04:02Z</expire-at><entry><content>content_4yjmgx0207</content></entry></data>

2021-06-13 23:03:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Jun 2021 06:03:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-13 23:03:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>98b12456-6739-47d2-acdc-ae64f1ad00da</value></item-id></result>

2021-06-13 23:03:57 | contains: true

2021-06-13 23:04:05 | [Mutex] waiting for: [user_regularz73br90202@test-domain.com:message:received:content_4yjmgx0207]

2021-06-13 23:04:05 | [Mutex] waiting for: [user_regularz73br90202@test-domain.com:message:received:content_4yjmgx0207]

2021-06-13 23:04:20 | [Mutex] timeout. Not received [user_regularz73br90202@test-domain.com:message:received:content_4yjmgx0207]

2021-06-13 23:04:20 | [Mutex] received everything.

2021-06-13 23:04:20 | [Mutex] isItemNotified: user_regularz73br90202@test-domain.com:message:received:content_4yjmgx0207 :: false

2021-06-13 23:04:20 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4yjmgx0207 :: true