Generated by TestNG with ReportNG at 21:32 PST on Thursday 17 February 2022
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.606s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.807s
2022-02-17 21:47:56 |

2022-02-17 21:47:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-17 21:47:56 | ------------------------------------

2022-02-17 21:47:56 | [Mutex] isItemNotified: node_4releg0203:exists :: false

2022-02-17 21:47:56 | [Mutex] waiting for: [node_4releg0203:create_node]

2022-02-17 21:47:56 | [Mutex] received everything.

2022-02-17 21:47:56 | [Mutex] isItemNotified: node_4releg0203:create_node:success :: true

2022-02-17 21:47:56 | [Mutex] waiting for: [node_4releg0203:subscribe_node]

2022-02-17 21:47:56 | [Mutex] waiting for: [node_4releg0203:subscribe_node]

2022-02-17 21:47:56 | [Mutex] received everything.

2022-02-17 21:47:56 | [Mutex] isItemNotified: node_4releg0203:subscribe_node:success :: true

2022-02-17 21:47:56 |


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


2022-02-17 21:47:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 21:47:56 | command: <data><node>node_4releg0203</node><entry><content>content_crumw10204</content></entry></data>

2022-02-17 21:47:56 | target: http://localhost:8088

2022-02-17 21:47:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-17 21:47:56 | entity: <data><node>node_4releg0203</node><entry><content>content_crumw10204</content></entry></data>

2022-02-17 21:47:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 05:47:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 21:47:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>61d7698a-d1be-4edf-a11c-7fda6a90067a</value></item-id></result>

2022-02-17 21:47:56 | contains: true

2022-02-17 21:47:56 | [Mutex] waiting for: [user_regulardbhsa70202@test-domain.com:message:received:content_crumw10204]

2022-02-17 21:47:56 | [Mutex] received everything.

2022-02-17 21:47:56 | [Mutex] isItemNotified: user_regulardbhsa70202@test-domain.com:message:received:content_crumw10204 :: true

2022-02-17 21:47:56 |


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


2022-02-17 21:47:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 21:47:56 | command: <data><node>node_4releg0203</node><expire-at>2022-02-18T05:47:51Z</expire-at><entry><content>content_uxje050205</content></entry></data>

2022-02-17 21:47:56 | target: http://localhost:8088

2022-02-17 21:47:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-17 21:47:56 | entity: <data><node>node_4releg0203</node><expire-at>2022-02-18T05:47:51Z</expire-at><entry><content>content_uxje050205</content></entry></data>

2022-02-17 21:47:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 05:47:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 21:47:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8ccd57e5-adf7-4cb4-8167-eda7833d8f53</value></item-id></result>

2022-02-17 21:47:56 | contains: true

2022-02-17 21:47:56 | [Mutex] waiting for: [user_regulardbhsa70202@test-domain.com:message:received:content_uxje050205]

2022-02-17 21:48:11 | [Mutex] timeout. Not received [user_regulardbhsa70202@test-domain.com:message:received:content_uxje050205]

2022-02-17 21:48:11 | [Mutex] isItemNotified: user_regulardbhsa70202@test-domain.com:message:received:content_uxje050205 :: false

2022-02-17 21:48:11 |


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


2022-02-17 21:48:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 21:48:11 | command: <data><node>node_4releg0203</node><entry><content>content_egee670206</content></entry></data>

2022-02-17 21:48:11 | target: http://localhost:8088

2022-02-17 21:48:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-17 21:48:11 | entity: <data><node>node_4releg0203</node><entry><content>content_egee670206</content></entry></data>

2022-02-17 21:48:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 05:48:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 21:48:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a2c88d40-ff43-4546-ba81-8a35ab442f0e</value></item-id></result>

2022-02-17 21:48:11 | contains: true

2022-02-17 21:48:16 | [Mutex] waiting for: [user_regulardbhsa70202@test-domain.com:message:received:content_egee670206]

2022-02-17 21:48:16 | [Mutex] waiting for: [user_regulardbhsa70202@test-domain.com:message:received:content_egee670206]

2022-02-17 21:48:16 | [Mutex] received everything.

2022-02-17 21:48:16 | [Mutex] isItemNotified: user_regulardbhsa70202@test-domain.com:message:received:content_egee670206 :: true

2022-02-17 21:48:16 |


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


2022-02-17 21:48:16 | [Mutex] received everything.

2022-02-17 21:48:16 | [Mutex] isItemNotified: node_4releg0203:subscribe_node:success :: true

2022-02-17 21:48:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-17 21:48:16 | command: <data><node>node_4releg0203</node><expire-at>2022-02-18T05:48:21Z</expire-at><entry><content>content_lzdbgu0207</content></entry></data>

2022-02-17 21:48:16 | target: http://localhost:8088

2022-02-17 21:48:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-17 21:48:16 | entity: <data><node>node_4releg0203</node><expire-at>2022-02-18T05:48:21Z</expire-at><entry><content>content_lzdbgu0207</content></entry></data>

2022-02-17 21:48:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 05:48:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 21:48:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>76e7f087-04ef-403c-b0ba-21465cc97e65</value></item-id></result>

2022-02-17 21:48:16 | contains: true

2022-02-17 21:48:25 | [Mutex] waiting for: [user_regulardbhsa70202@test-domain.com:message:received:content_lzdbgu0207]

2022-02-17 21:48:25 | [Mutex] waiting for: [user_regulardbhsa70202@test-domain.com:message:received:content_lzdbgu0207]

2022-02-17 21:48:40 | [Mutex] timeout. Not received [user_regulardbhsa70202@test-domain.com:message:received:content_lzdbgu0207]

2022-02-17 21:48:40 | [Mutex] received everything.

2022-02-17 21:48:40 | [Mutex] isItemNotified: user_regulardbhsa70202@test-domain.com:message:received:content_lzdbgu0207 :: false

2022-02-17 21:48:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lzdbgu0207 :: true