Generated by TestNG with ReportNG at 21:55 PST on Tuesday 09 November 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.664s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.719s
2021-11-09 22:18:52 |

2021-11-09 22:18:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-11-09 22:18:52 | ------------------------------------

2021-11-09 22:18:52 | [Mutex] isItemNotified: node_ppky3n0203:exists :: false

2021-11-09 22:18:52 | [Mutex] waiting for: [node_ppky3n0203:create_node]

2021-11-09 22:18:52 | [Mutex] received everything.

2021-11-09 22:18:52 | [Mutex] isItemNotified: node_ppky3n0203:create_node:success :: true

2021-11-09 22:18:52 | [Mutex] waiting for: [node_ppky3n0203:subscribe_node]

2021-11-09 22:18:52 | [Mutex] waiting for: [node_ppky3n0203:subscribe_node]

2021-11-09 22:18:52 | [Mutex] received everything.

2021-11-09 22:18:52 | [Mutex] isItemNotified: node_ppky3n0203:subscribe_node:success :: true

2021-11-09 22:18:52 |


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


2021-11-09 22:18:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-09 22:18:52 | command: <data><node>node_ppky3n0203</node><entry><content>content_3sw0ru0204</content></entry></data>

2021-11-09 22:18:52 | target: http://localhost:8088

2021-11-09 22:18:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-11-09 22:18:52 | entity: <data><node>node_ppky3n0203</node><entry><content>content_3sw0ru0204</content></entry></data>

2021-11-09 22:18:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 06:18:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-09 22:18:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>04407c1b-e855-43b0-97d3-01d1b424754e</value></item-id></result>

2021-11-09 22:18:52 | contains: true

2021-11-09 22:18:52 | [Mutex] waiting for: [user_regular2325on0202@test-domain.com:message:received:content_3sw0ru0204]

2021-11-09 22:18:52 | [Mutex] received everything.

2021-11-09 22:18:52 | [Mutex] isItemNotified: user_regular2325on0202@test-domain.com:message:received:content_3sw0ru0204 :: true

2021-11-09 22:18:52 |


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


2021-11-09 22:18:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-09 22:18:52 | command: <data><node>node_ppky3n0203</node><expire-at>2021-11-10T06:18:47Z</expire-at><entry><content>content_vjyreo0205</content></entry></data>

2021-11-09 22:18:52 | target: http://localhost:8088

2021-11-09 22:18:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-11-09 22:18:52 | entity: <data><node>node_ppky3n0203</node><expire-at>2021-11-10T06:18:47Z</expire-at><entry><content>content_vjyreo0205</content></entry></data>

2021-11-09 22:18:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 06:18:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-09 22:18:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fb38bd4a-7add-4b70-adfb-83dc204e39cd</value></item-id></result>

2021-11-09 22:18:52 | contains: true

2021-11-09 22:18:52 | [Mutex] waiting for: [user_regular2325on0202@test-domain.com:message:received:content_vjyreo0205]

2021-11-09 22:19:07 | [Mutex] timeout. Not received [user_regular2325on0202@test-domain.com:message:received:content_vjyreo0205]

2021-11-09 22:19:07 | [Mutex] isItemNotified: user_regular2325on0202@test-domain.com:message:received:content_vjyreo0205 :: false

2021-11-09 22:19:07 |


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


2021-11-09 22:19:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-09 22:19:07 | command: <data><node>node_ppky3n0203</node><entry><content>content_t0c82i0206</content></entry></data>

2021-11-09 22:19:07 | target: http://localhost:8088

2021-11-09 22:19:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-11-09 22:19:07 | entity: <data><node>node_ppky3n0203</node><entry><content>content_t0c82i0206</content></entry></data>

2021-11-09 22:19:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 06:19:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-09 22:19:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0d2b3603-9bd7-405a-b9a1-db597601871f</value></item-id></result>

2021-11-09 22:19:08 | contains: true

2021-11-09 22:19:13 | [Mutex] waiting for: [user_regular2325on0202@test-domain.com:message:received:content_t0c82i0206]

2021-11-09 22:19:13 | [Mutex] waiting for: [user_regular2325on0202@test-domain.com:message:received:content_t0c82i0206]

2021-11-09 22:19:13 | [Mutex] received everything.

2021-11-09 22:19:13 | [Mutex] isItemNotified: user_regular2325on0202@test-domain.com:message:received:content_t0c82i0206 :: true

2021-11-09 22:19:13 |


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


2021-11-09 22:19:13 | [Mutex] received everything.

2021-11-09 22:19:13 | [Mutex] isItemNotified: node_ppky3n0203:subscribe_node:success :: true

2021-11-09 22:19:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-11-09 22:19:13 | command: <data><node>node_ppky3n0203</node><expire-at>2021-11-10T06:19:18Z</expire-at><entry><content>content_7d4uxw0207</content></entry></data>

2021-11-09 22:19:13 | target: http://localhost:8088

2021-11-09 22:19:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-11-09 22:19:13 | entity: <data><node>node_ppky3n0203</node><expire-at>2021-11-10T06:19:18Z</expire-at><entry><content>content_7d4uxw0207</content></entry></data>

2021-11-09 22:19:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Nov 2021 06:19:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-11-09 22:19:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6cf91fd5-af26-45fd-a09e-c4fc0365f4e3</value></item-id></result>

2021-11-09 22:19:13 | contains: true

2021-11-09 22:19:21 | [Mutex] waiting for: [user_regular2325on0202@test-domain.com:message:received:content_7d4uxw0207]

2021-11-09 22:19:21 | [Mutex] waiting for: [user_regular2325on0202@test-domain.com:message:received:content_7d4uxw0207]

2021-11-09 22:19:36 | [Mutex] timeout. Not received [user_regular2325on0202@test-domain.com:message:received:content_7d4uxw0207]

2021-11-09 22:19:36 | [Mutex] received everything.

2021-11-09 22:19:36 | [Mutex] isItemNotified: user_regular2325on0202@test-domain.com:message:received:content_7d4uxw0207 :: false

2021-11-09 22:19:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7d4uxw0207 :: true