Generated by TestNG with ReportNG at 21:43 PST on Tuesday 01 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.304s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.668s
2022-02-01 21:58:18 |

2022-02-01 21:58:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-01 21:58:18 | ------------------------------------

2022-02-01 21:58:18 | [Mutex] isItemNotified: node_wl58890203:exists :: false

2022-02-01 21:58:18 | [Mutex] waiting for: [node_wl58890203:create_node]

2022-02-01 21:58:18 | [Mutex] received everything.

2022-02-01 21:58:18 | [Mutex] isItemNotified: node_wl58890203:create_node:success :: true

2022-02-01 21:58:18 | [Mutex] waiting for: [node_wl58890203:subscribe_node]

2022-02-01 21:58:18 | [Mutex] waiting for: [node_wl58890203:subscribe_node]

2022-02-01 21:58:18 | [Mutex] received everything.

2022-02-01 21:58:18 | [Mutex] isItemNotified: node_wl58890203:subscribe_node:success :: true

2022-02-01 21:58:18 |


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


2022-02-01 21:58:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-01 21:58:18 | command: <data><node>node_wl58890203</node><entry><content>content_ub4pu70204</content></entry></data>

2022-02-01 21:58:18 | target: http://localhost:8088

2022-02-01 21:58:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-01 21:58:18 | entity: <data><node>node_wl58890203</node><entry><content>content_ub4pu70204</content></entry></data>

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

2022-02-01 21:58:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fa5dcc9f-387d-4289-a994-83cdf974361e</value></item-id></result>

2022-02-01 21:58:18 | contains: true

2022-02-01 21:58:18 | [Mutex] waiting for: [user_regularidh6l60202@test-domain.com:message:received:content_ub4pu70204]

2022-02-01 21:58:18 | [Mutex] received everything.

2022-02-01 21:58:18 | [Mutex] isItemNotified: user_regularidh6l60202@test-domain.com:message:received:content_ub4pu70204 :: true

2022-02-01 21:58:18 |


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


2022-02-01 21:58:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-01 21:58:18 | command: <data><node>node_wl58890203</node><expire-at>2022-02-02T05:58:13Z</expire-at><entry><content>content_f9p4bw0205</content></entry></data>

2022-02-01 21:58:18 | target: http://localhost:8088

2022-02-01 21:58:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-01 21:58:18 | entity: <data><node>node_wl58890203</node><expire-at>2022-02-02T05:58:13Z</expire-at><entry><content>content_f9p4bw0205</content></entry></data>

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

2022-02-01 21:58:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fce2e63d-5155-478b-b89c-3be0376ba12d</value></item-id></result>

2022-02-01 21:58:18 | contains: true

2022-02-01 21:58:18 | [Mutex] waiting for: [user_regularidh6l60202@test-domain.com:message:received:content_f9p4bw0205]

2022-02-01 21:58:33 | [Mutex] timeout. Not received [user_regularidh6l60202@test-domain.com:message:received:content_f9p4bw0205]

2022-02-01 21:58:33 | [Mutex] isItemNotified: user_regularidh6l60202@test-domain.com:message:received:content_f9p4bw0205 :: false

2022-02-01 21:58:33 |


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


2022-02-01 21:58:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-01 21:58:33 | command: <data><node>node_wl58890203</node><entry><content>content_g3hq7v0206</content></entry></data>

2022-02-01 21:58:33 | target: http://localhost:8088

2022-02-01 21:58:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-01 21:58:33 | entity: <data><node>node_wl58890203</node><entry><content>content_g3hq7v0206</content></entry></data>

2022-02-01 21:58:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Feb 2022 05:58:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-01 21:58:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0277317b-5c6c-4c25-9feb-d4a7b54eba27</value></item-id></result>

2022-02-01 21:58:33 | contains: true

2022-02-01 21:58:38 | [Mutex] waiting for: [user_regularidh6l60202@test-domain.com:message:received:content_g3hq7v0206]

2022-02-01 21:58:38 | [Mutex] received everything.

2022-02-01 21:58:38 | [Mutex] isItemNotified: user_regularidh6l60202@test-domain.com:message:received:content_g3hq7v0206 :: true

2022-02-01 21:58:38 |


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


2022-02-01 21:58:38 | [Mutex] received everything.

2022-02-01 21:58:38 | [Mutex] isItemNotified: node_wl58890203:subscribe_node:success :: true

2022-02-01 21:58:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-01 21:58:38 | command: <data><node>node_wl58890203</node><expire-at>2022-02-02T05:58:43Z</expire-at><entry><content>content_jyu4e30207</content></entry></data>

2022-02-01 21:58:38 | target: http://localhost:8088

2022-02-01 21:58:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-01 21:58:38 | entity: <data><node>node_wl58890203</node><expire-at>2022-02-02T05:58:43Z</expire-at><entry><content>content_jyu4e30207</content></entry></data>

2022-02-01 21:58:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Feb 2022 05:58:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-01 21:58:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3877df49-5d35-4689-880a-6ce072a3a038</value></item-id></result>

2022-02-01 21:58:38 | contains: true

2022-02-01 21:58:46 | [Mutex] waiting for: [user_regularidh6l60202@test-domain.com:message:received:content_jyu4e30207]

2022-02-01 21:58:46 | [Mutex] waiting for: [user_regularidh6l60202@test-domain.com:message:received:content_jyu4e30207]

2022-02-01 21:59:01 | [Mutex] timeout. Not received [user_regularidh6l60202@test-domain.com:message:received:content_jyu4e30207]

2022-02-01 21:59:01 | [Mutex] received everything.

2022-02-01 21:59:01 | [Mutex] isItemNotified: user_regularidh6l60202@test-domain.com:message:received:content_jyu4e30207 :: false

2022-02-01 21:59:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jyu4e30207 :: true