Generated by TestNG with ReportNG at 22:15 PDT on Sunday 09 May 2021
root@b2c2a8eba6e6 / 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.570s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.748s
2021-05-09 22:34:04 |

2021-05-09 22:34:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-09 22:34:04 | ------------------------------------

2021-05-09 22:34:04 | [Mutex] isItemNotified: node_kptnhf0203:exists :: false

2021-05-09 22:34:04 | [Mutex] waiting for: [node_kptnhf0203:create_node]

2021-05-09 22:34:04 | [Mutex] received everything.

2021-05-09 22:34:04 | [Mutex] isItemNotified: node_kptnhf0203:create_node:success :: true

2021-05-09 22:34:04 | [Mutex] waiting for: [node_kptnhf0203:subscribe_node]

2021-05-09 22:34:04 | [Mutex] waiting for: [node_kptnhf0203:subscribe_node]

2021-05-09 22:34:04 | [Mutex] received everything.

2021-05-09 22:34:04 | [Mutex] isItemNotified: node_kptnhf0203:subscribe_node:success :: true

2021-05-09 22:34:04 |


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


2021-05-09 22:34:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-09 22:34:04 | command: <data><node>node_kptnhf0203</node><entry><content>content_qyerof0204</content></entry></data>

2021-05-09 22:34:04 | target: http://localhost:8088

2021-05-09 22:34:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-09 22:34:04 | entity: <data><node>node_kptnhf0203</node><entry><content>content_qyerof0204</content></entry></data>

2021-05-09 22:34:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:34:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-09 22:34:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>32e1fc2f-c9a8-4f77-935a-6a41ef230d57</value></item-id></result>

2021-05-09 22:34:04 | contains: true

2021-05-09 22:34:04 | [Mutex] received everything.

2021-05-09 22:34:04 | [Mutex] isItemNotified: user_regularvv23e70202@test-domain.com:message:received:content_qyerof0204 :: true

2021-05-09 22:34:04 |


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


2021-05-09 22:34:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-09 22:34:04 | command: <data><node>node_kptnhf0203</node><expire-at>2021-05-10T05:33:59Z</expire-at><entry><content>content_3hz22d0205</content></entry></data>

2021-05-09 22:34:04 | target: http://localhost:8088

2021-05-09 22:34:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-09 22:34:04 | entity: <data><node>node_kptnhf0203</node><expire-at>2021-05-10T05:33:59Z</expire-at><entry><content>content_3hz22d0205</content></entry></data>

2021-05-09 22:34:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:34:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-09 22:34:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6e475986-03e5-4cbf-839c-8b97e921ee3d</value></item-id></result>

2021-05-09 22:34:04 | contains: true

2021-05-09 22:34:04 | [Mutex] waiting for: [user_regularvv23e70202@test-domain.com:message:received:content_3hz22d0205]

2021-05-09 22:34:19 | [Mutex] timeout. Not received [user_regularvv23e70202@test-domain.com:message:received:content_3hz22d0205]

2021-05-09 22:34:19 | [Mutex] isItemNotified: user_regularvv23e70202@test-domain.com:message:received:content_3hz22d0205 :: false

2021-05-09 22:34:19 |


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


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

2021-05-09 22:34:19 | command: <data><node>node_kptnhf0203</node><entry><content>content_rchun80206</content></entry></data>

2021-05-09 22:34:19 | target: http://localhost:8088

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

2021-05-09 22:34:19 | entity: <data><node>node_kptnhf0203</node><entry><content>content_rchun80206</content></entry></data>

2021-05-09 22:34:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:34:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-09 22:34:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f6bc2cd1-632d-4ada-9bf2-27b7763d6866</value></item-id></result>

2021-05-09 22:34:19 | contains: true

2021-05-09 22:34:25 | [Mutex] waiting for: [user_regularvv23e70202@test-domain.com:message:received:content_rchun80206]

2021-05-09 22:34:25 | [Mutex] received everything.

2021-05-09 22:34:25 | [Mutex] isItemNotified: user_regularvv23e70202@test-domain.com:message:received:content_rchun80206 :: true

2021-05-09 22:34:25 |


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


2021-05-09 22:34:25 | [Mutex] received everything.

2021-05-09 22:34:25 | [Mutex] isItemNotified: node_kptnhf0203:subscribe_node:success :: true

2021-05-09 22:34:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-09 22:34:25 | command: <data><node>node_kptnhf0203</node><expire-at>2021-05-10T05:34:30Z</expire-at><entry><content>content_odcqz60207</content></entry></data>

2021-05-09 22:34:25 | target: http://localhost:8088

2021-05-09 22:34:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-09 22:34:25 | entity: <data><node>node_kptnhf0203</node><expire-at>2021-05-10T05:34:30Z</expire-at><entry><content>content_odcqz60207</content></entry></data>

2021-05-09 22:34:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:34:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-09 22:34:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9d46764b-7027-4a98-96c7-5831b9c09421</value></item-id></result>

2021-05-09 22:34:25 | contains: true

2021-05-09 22:34:33 | [Mutex] waiting for: [user_regularvv23e70202@test-domain.com:message:received:content_odcqz60207]

2021-05-09 22:34:33 | [Mutex] waiting for: [user_regularvv23e70202@test-domain.com:message:received:content_odcqz60207]

2021-05-09 22:34:33 | [Mutex] waiting for: [user_regularvv23e70202@test-domain.com:message:received:content_odcqz60207]

2021-05-09 22:34:48 | [Mutex] timeout. Not received [user_regularvv23e70202@test-domain.com:message:received:content_odcqz60207]

2021-05-09 22:34:48 | [Mutex] received everything.

2021-05-09 22:34:48 | [Mutex] isItemNotified: user_regularvv23e70202@test-domain.com:message:received:content_odcqz60207 :: false

2021-05-09 22:34:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_odcqz60207 :: true