Generated by TestNG with ReportNG at 09:05 PST on Tuesday 21 December 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.779s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.688s
2021-12-21 09:20:29 |

2021-12-21 09:20:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-12-21 09:20:29 | ------------------------------------

2021-12-21 09:20:29 | [Mutex] isItemNotified: node_qyld6j0203:exists :: false

2021-12-21 09:20:29 | [Mutex] waiting for: [node_qyld6j0203:create_node]

2021-12-21 09:20:29 | [Mutex] received everything.

2021-12-21 09:20:29 | [Mutex] isItemNotified: node_qyld6j0203:create_node:success :: true

2021-12-21 09:20:29 | [Mutex] waiting for: [node_qyld6j0203:subscribe_node]

2021-12-21 09:20:29 | [Mutex] waiting for: [node_qyld6j0203:subscribe_node]

2021-12-21 09:20:29 | [Mutex] received everything.

2021-12-21 09:20:29 | [Mutex] isItemNotified: node_qyld6j0203:subscribe_node:success :: true

2021-12-21 09:20:29 |


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


2021-12-21 09:20:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-21 09:20:29 | command: <data><node>node_qyld6j0203</node><entry><content>content_igg5270204</content></entry></data>

2021-12-21 09:20:29 | target: http://localhost:8088

2021-12-21 09:20:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-21 09:20:29 | entity: <data><node>node_qyld6j0203</node><entry><content>content_igg5270204</content></entry></data>

2021-12-21 09:20:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 17:20:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-21 09:20:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ec0bb69a-e1a0-4997-b003-a7118e27adf5</value></item-id></result>

2021-12-21 09:20:29 | contains: true

2021-12-21 09:20:29 | [Mutex] received everything.

2021-12-21 09:20:29 | [Mutex] isItemNotified: user_regularz7sxb90202@test-domain.com:message:received:content_igg5270204 :: true

2021-12-21 09:20:29 |


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


2021-12-21 09:20:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-21 09:20:29 | command: <data><node>node_qyld6j0203</node><expire-at>2021-12-21T17:20:24Z</expire-at><entry><content>content_aymmpo0205</content></entry></data>

2021-12-21 09:20:29 | target: http://localhost:8088

2021-12-21 09:20:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-21 09:20:29 | entity: <data><node>node_qyld6j0203</node><expire-at>2021-12-21T17:20:24Z</expire-at><entry><content>content_aymmpo0205</content></entry></data>

2021-12-21 09:20:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 17:20:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-21 09:20:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4a76b9f3-244b-4449-bdae-fa4ab86ecc92</value></item-id></result>

2021-12-21 09:20:29 | contains: true

2021-12-21 09:20:29 | [Mutex] waiting for: [user_regularz7sxb90202@test-domain.com:message:received:content_aymmpo0205]

2021-12-21 09:20:44 | [Mutex] timeout. Not received [user_regularz7sxb90202@test-domain.com:message:received:content_aymmpo0205]

2021-12-21 09:20:44 | [Mutex] isItemNotified: user_regularz7sxb90202@test-domain.com:message:received:content_aymmpo0205 :: false

2021-12-21 09:20:44 |


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


2021-12-21 09:20:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-21 09:20:44 | command: <data><node>node_qyld6j0203</node><entry><content>content_d91qbb0206</content></entry></data>

2021-12-21 09:20:44 | target: http://localhost:8088

2021-12-21 09:20:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-21 09:20:44 | entity: <data><node>node_qyld6j0203</node><entry><content>content_d91qbb0206</content></entry></data>

2021-12-21 09:20:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 17:20:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-21 09:20:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9878553c-dfb1-4d85-97b9-01c0101dbf17</value></item-id></result>

2021-12-21 09:20:44 | contains: true

2021-12-21 09:20:49 | [Mutex] waiting for: [user_regularz7sxb90202@test-domain.com:message:received:content_d91qbb0206]

2021-12-21 09:20:49 | [Mutex] waiting for: [user_regularz7sxb90202@test-domain.com:message:received:content_d91qbb0206]

2021-12-21 09:20:49 | [Mutex] received everything.

2021-12-21 09:20:49 | [Mutex] isItemNotified: user_regularz7sxb90202@test-domain.com:message:received:content_d91qbb0206 :: true

2021-12-21 09:20:49 |


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


2021-12-21 09:20:49 | [Mutex] received everything.

2021-12-21 09:20:49 | [Mutex] isItemNotified: node_qyld6j0203:subscribe_node:success :: true

2021-12-21 09:20:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-21 09:20:49 | command: <data><node>node_qyld6j0203</node><expire-at>2021-12-21T17:20:54Z</expire-at><entry><content>content_j7niz90207</content></entry></data>

2021-12-21 09:20:49 | target: http://localhost:8088

2021-12-21 09:20:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-21 09:20:49 | entity: <data><node>node_qyld6j0203</node><expire-at>2021-12-21T17:20:54Z</expire-at><entry><content>content_j7niz90207</content></entry></data>

2021-12-21 09:20:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 17:20:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-21 09:20:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7588e198-d804-41d5-b6ef-68aa80567c3d</value></item-id></result>

2021-12-21 09:20:49 | contains: true

2021-12-21 09:20:58 | [Mutex] waiting for: [user_regularz7sxb90202@test-domain.com:message:received:content_j7niz90207]

2021-12-21 09:20:58 | [Mutex] waiting for: [user_regularz7sxb90202@test-domain.com:message:received:content_j7niz90207]

2021-12-21 09:21:13 | [Mutex] timeout. Not received [user_regularz7sxb90202@test-domain.com:message:received:content_j7niz90207]

2021-12-21 09:21:13 | [Mutex] received everything.

2021-12-21 09:21:13 | [Mutex] isItemNotified: user_regularz7sxb90202@test-domain.com:message:received:content_j7niz90207 :: false

2021-12-21 09:21:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_j7niz90207 :: true