Generated by TestNG with ReportNG at 22:14 PDT on Sunday 13 June 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.048s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.645s
2021-06-13 22:30:01 |

2021-06-13 22:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-06-13 22:30:01 | ------------------------------------

2021-06-13 22:30:01 | [Mutex] isItemNotified: node_p8e8kz0203:exists :: false

2021-06-13 22:30:01 | [Mutex] waiting for: [node_p8e8kz0203:create_node]

2021-06-13 22:30:02 | [Mutex] received everything.

2021-06-13 22:30:02 | [Mutex] isItemNotified: node_p8e8kz0203:create_node:success :: true

2021-06-13 22:30:02 | [Mutex] waiting for: [node_p8e8kz0203:subscribe_node]

2021-06-13 22:30:02 | [Mutex] waiting for: [node_p8e8kz0203:subscribe_node]

2021-06-13 22:30:02 | [Mutex] received everything.

2021-06-13 22:30:02 | [Mutex] isItemNotified: node_p8e8kz0203:subscribe_node:success :: true

2021-06-13 22:30:02 |


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


2021-06-13 22:30:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-13 22:30:02 | command: <data><node>node_p8e8kz0203</node><entry><content>content_rw2mtj0204</content></entry></data>

2021-06-13 22:30:02 | target: http://localhost:8088

2021-06-13 22:30:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-13 22:30:02 | entity: <data><node>node_p8e8kz0203</node><entry><content>content_rw2mtj0204</content></entry></data>

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

2021-06-13 22:30:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3d9c95c6-7d3c-428f-b0b6-65243f5e7817</value></item-id></result>

2021-06-13 22:30:02 | contains: true

2021-06-13 22:30:02 | [Mutex] received everything.

2021-06-13 22:30:02 | [Mutex] isItemNotified: user_regular26vgn90202@test-domain.com:message:received:content_rw2mtj0204 :: true

2021-06-13 22:30:02 |


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


2021-06-13 22:30:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-13 22:30:02 | command: <data><node>node_p8e8kz0203</node><expire-at>2021-06-14T05:29:57Z</expire-at><entry><content>content_9d1ph50205</content></entry></data>

2021-06-13 22:30:02 | target: http://localhost:8088

2021-06-13 22:30:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-13 22:30:02 | entity: <data><node>node_p8e8kz0203</node><expire-at>2021-06-14T05:29:57Z</expire-at><entry><content>content_9d1ph50205</content></entry></data>

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

2021-06-13 22:30:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5650736a-b2de-4909-8f5b-771629a59327</value></item-id></result>

2021-06-13 22:30:02 | contains: true

2021-06-13 22:30:02 | [Mutex] waiting for: [user_regular26vgn90202@test-domain.com:message:received:content_9d1ph50205]

2021-06-13 22:30:17 | [Mutex] timeout. Not received [user_regular26vgn90202@test-domain.com:message:received:content_9d1ph50205]

2021-06-13 22:30:17 | [Mutex] isItemNotified: user_regular26vgn90202@test-domain.com:message:received:content_9d1ph50205 :: false

2021-06-13 22:30:17 |


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


2021-06-13 22:30:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-13 22:30:17 | command: <data><node>node_p8e8kz0203</node><entry><content>content_90qrwb0206</content></entry></data>

2021-06-13 22:30:17 | target: http://localhost:8088

2021-06-13 22:30:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-13 22:30:17 | entity: <data><node>node_p8e8kz0203</node><entry><content>content_90qrwb0206</content></entry></data>

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

2021-06-13 22:30:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4d2cb86c-d85a-4734-b352-99e5a022cd90</value></item-id></result>

2021-06-13 22:30:17 | contains: true

2021-06-13 22:30:22 | [Mutex] waiting for: [user_regular26vgn90202@test-domain.com:message:received:content_90qrwb0206]

2021-06-13 22:30:22 | [Mutex] received everything.

2021-06-13 22:30:22 | [Mutex] isItemNotified: user_regular26vgn90202@test-domain.com:message:received:content_90qrwb0206 :: true

2021-06-13 22:30:22 |


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


2021-06-13 22:30:22 | [Mutex] received everything.

2021-06-13 22:30:22 | [Mutex] isItemNotified: node_p8e8kz0203:subscribe_node:success :: true

2021-06-13 22:30:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-13 22:30:22 | command: <data><node>node_p8e8kz0203</node><expire-at>2021-06-14T05:30:27Z</expire-at><entry><content>content_4q3rg40207</content></entry></data>

2021-06-13 22:30:22 | target: http://localhost:8088

2021-06-13 22:30:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-13 22:30:22 | entity: <data><node>node_p8e8kz0203</node><expire-at>2021-06-14T05:30:27Z</expire-at><entry><content>content_4q3rg40207</content></entry></data>

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

2021-06-13 22:30:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a5aff6c3-272e-4b44-a643-b80cce57d4e0</value></item-id></result>

2021-06-13 22:30:22 | contains: true

2021-06-13 22:30:30 | [Mutex] waiting for: [user_regular26vgn90202@test-domain.com:message:received:content_4q3rg40207]

2021-06-13 22:30:30 | [Mutex] waiting for: [user_regular26vgn90202@test-domain.com:message:received:content_4q3rg40207]

2021-06-13 22:30:45 | [Mutex] timeout. Not received [user_regular26vgn90202@test-domain.com:message:received:content_4q3rg40207]

2021-06-13 22:30:45 | [Mutex] received everything.

2021-06-13 22:30:45 | [Mutex] isItemNotified: user_regular26vgn90202@test-domain.com:message:received:content_4q3rg40207 :: false

2021-06-13 22:30:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4q3rg40207 :: true