Generated by TestNG with ReportNG at 21:29 PST on Wednesday 19 January 2022
root@f29ef40080b5 / 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.526s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.689s
2022-01-19 21:43:36 |

2022-01-19 21:43:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-01-19 21:43:36 | ------------------------------------

2022-01-19 21:43:36 | [Mutex] isItemNotified: node_8wgzuj0203:exists :: false

2022-01-19 21:43:36 | [Mutex] waiting for: [node_8wgzuj0203:create_node]

2022-01-19 21:43:36 | [Mutex] received everything.

2022-01-19 21:43:36 | [Mutex] isItemNotified: node_8wgzuj0203:create_node:success :: true

2022-01-19 21:43:36 | [Mutex] waiting for: [node_8wgzuj0203:subscribe_node]

2022-01-19 21:43:36 | [Mutex] waiting for: [node_8wgzuj0203:subscribe_node]

2022-01-19 21:43:36 | [Mutex] received everything.

2022-01-19 21:43:36 | [Mutex] isItemNotified: node_8wgzuj0203:subscribe_node:success :: true

2022-01-19 21:43:36 |


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


2022-01-19 21:43:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-19 21:43:36 | command: <data><node>node_8wgzuj0203</node><entry><content>content_xxh6z30204</content></entry></data>

2022-01-19 21:43:36 | target: http://localhost:8088

2022-01-19 21:43:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-01-19 21:43:36 | entity: <data><node>node_8wgzuj0203</node><entry><content>content_xxh6z30204</content></entry></data>

2022-01-19 21:43:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 05:43:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-19 21:43:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a3ced64e-6491-496b-b5f8-611d8b5bd075</value></item-id></result>

2022-01-19 21:43:36 | contains: true

2022-01-19 21:43:36 | [Mutex] received everything.

2022-01-19 21:43:36 | [Mutex] isItemNotified: user_regularm8ypgx0202@test-domain.com:message:received:content_xxh6z30204 :: true

2022-01-19 21:43:36 |


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


2022-01-19 21:43:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-19 21:43:36 | command: <data><node>node_8wgzuj0203</node><expire-at>2022-01-20T05:43:31Z</expire-at><entry><content>content_y87dx60205</content></entry></data>

2022-01-19 21:43:36 | target: http://localhost:8088

2022-01-19 21:43:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-01-19 21:43:36 | entity: <data><node>node_8wgzuj0203</node><expire-at>2022-01-20T05:43:31Z</expire-at><entry><content>content_y87dx60205</content></entry></data>

2022-01-19 21:43:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 05:43:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-19 21:43:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3fd294d6-2c46-407c-9bb3-d0b2e8d7c4ea</value></item-id></result>

2022-01-19 21:43:36 | contains: true

2022-01-19 21:43:36 | [Mutex] waiting for: [user_regularm8ypgx0202@test-domain.com:message:received:content_y87dx60205]

2022-01-19 21:43:51 | [Mutex] timeout. Not received [user_regularm8ypgx0202@test-domain.com:message:received:content_y87dx60205]

2022-01-19 21:43:51 | [Mutex] isItemNotified: user_regularm8ypgx0202@test-domain.com:message:received:content_y87dx60205 :: false

2022-01-19 21:43:51 |


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


2022-01-19 21:43:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-19 21:43:51 | command: <data><node>node_8wgzuj0203</node><entry><content>content_d7ddtf0206</content></entry></data>

2022-01-19 21:43:51 | target: http://localhost:8088

2022-01-19 21:43:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-01-19 21:43:51 | entity: <data><node>node_8wgzuj0203</node><entry><content>content_d7ddtf0206</content></entry></data>

2022-01-19 21:43:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 05:43:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-19 21:43:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>544495b2-7711-48ef-af03-f3bd0a8cfe4a</value></item-id></result>

2022-01-19 21:43:51 | contains: true

2022-01-19 21:43:56 | [Mutex] waiting for: [user_regularm8ypgx0202@test-domain.com:message:received:content_d7ddtf0206]

2022-01-19 21:43:56 | [Mutex] waiting for: [user_regularm8ypgx0202@test-domain.com:message:received:content_d7ddtf0206]

2022-01-19 21:43:56 | [Mutex] received everything.

2022-01-19 21:43:56 | [Mutex] isItemNotified: user_regularm8ypgx0202@test-domain.com:message:received:content_d7ddtf0206 :: true

2022-01-19 21:43:56 |


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


2022-01-19 21:43:56 | [Mutex] received everything.

2022-01-19 21:43:56 | [Mutex] isItemNotified: node_8wgzuj0203:subscribe_node:success :: true

2022-01-19 21:43:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-19 21:43:56 | command: <data><node>node_8wgzuj0203</node><expire-at>2022-01-20T05:44:01Z</expire-at><entry><content>content_1q8kxt0207</content></entry></data>

2022-01-19 21:43:56 | target: http://localhost:8088

2022-01-19 21:43:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-01-19 21:43:56 | entity: <data><node>node_8wgzuj0203</node><expire-at>2022-01-20T05:44:01Z</expire-at><entry><content>content_1q8kxt0207</content></entry></data>

2022-01-19 21:43:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 05:43:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-19 21:43:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a589bf7e-3914-4cd2-a151-dffa4e9b88bf</value></item-id></result>

2022-01-19 21:43:56 | contains: true

2022-01-19 21:44:04 | [Mutex] waiting for: [user_regularm8ypgx0202@test-domain.com:message:received:content_1q8kxt0207]

2022-01-19 21:44:04 | [Mutex] waiting for: [user_regularm8ypgx0202@test-domain.com:message:received:content_1q8kxt0207]

2022-01-19 21:44:19 | [Mutex] timeout. Not received [user_regularm8ypgx0202@test-domain.com:message:received:content_1q8kxt0207]

2022-01-19 21:44:19 | [Mutex] received everything.

2022-01-19 21:44:19 | [Mutex] isItemNotified: user_regularm8ypgx0202@test-domain.com:message:received:content_1q8kxt0207 :: false

2022-01-19 21:44:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1q8kxt0207 :: true