Generated by TestNG with ReportNG at 21:32 PST on Wednesday 16 February 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.621s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.771s
2022-02-16 21:46:48 |

2022-02-16 21:46:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-16 21:46:48 | ------------------------------------

2022-02-16 21:46:48 | [Mutex] isItemNotified: node_2vj0zh0203:exists :: false

2022-02-16 21:46:48 | [Mutex] waiting for: [node_2vj0zh0203:create_node]

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

2022-02-16 21:46:48 | [Mutex] isItemNotified: node_2vj0zh0203:create_node:success :: true

2022-02-16 21:46:48 | [Mutex] waiting for: [node_2vj0zh0203:subscribe_node]

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

2022-02-16 21:46:48 | [Mutex] isItemNotified: node_2vj0zh0203:subscribe_node:success :: true

2022-02-16 21:46:48 |


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


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

2022-02-16 21:46:48 | command: <data><node>node_2vj0zh0203</node><entry><content>content_g9g8s90204</content></entry></data>

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

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

2022-02-16 21:46:48 | entity: <data><node>node_2vj0zh0203</node><entry><content>content_g9g8s90204</content></entry></data>

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

2022-02-16 21:46:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f518b371-1469-4de4-88f5-27ebc31fdcd2</value></item-id></result>

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

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

2022-02-16 21:46:48 | [Mutex] isItemNotified: user_regularmf3xob0202@test-domain.com:message:received:content_g9g8s90204 :: true

2022-02-16 21:46:48 |


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


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

2022-02-16 21:46:48 | command: <data><node>node_2vj0zh0203</node><expire-at>2022-02-17T05:46:43Z</expire-at><entry><content>content_4lmycd0205</content></entry></data>

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

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

2022-02-16 21:46:48 | entity: <data><node>node_2vj0zh0203</node><expire-at>2022-02-17T05:46:43Z</expire-at><entry><content>content_4lmycd0205</content></entry></data>

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

2022-02-16 21:46:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d832425e-4519-4a31-a4a2-72eb48efd204</value></item-id></result>

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

2022-02-16 21:46:48 | [Mutex] waiting for: [user_regularmf3xob0202@test-domain.com:message:received:content_4lmycd0205]

2022-02-16 21:47:03 | [Mutex] timeout. Not received [user_regularmf3xob0202@test-domain.com:message:received:content_4lmycd0205]

2022-02-16 21:47:03 | [Mutex] isItemNotified: user_regularmf3xob0202@test-domain.com:message:received:content_4lmycd0205 :: false

2022-02-16 21:47:03 |


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


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

2022-02-16 21:47:03 | command: <data><node>node_2vj0zh0203</node><entry><content>content_tu1n6a0206</content></entry></data>

2022-02-16 21:47:03 | target: http://localhost:8088

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

2022-02-16 21:47:03 | entity: <data><node>node_2vj0zh0203</node><entry><content>content_tu1n6a0206</content></entry></data>

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

2022-02-16 21:47:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3eb6ba42-9eb0-4e3e-9357-c3fc85f2236c</value></item-id></result>

2022-02-16 21:47:04 | contains: true

2022-02-16 21:47:09 | [Mutex] waiting for: [user_regularmf3xob0202@test-domain.com:message:received:content_tu1n6a0206]

2022-02-16 21:47:09 | [Mutex] received everything.

2022-02-16 21:47:09 | [Mutex] isItemNotified: user_regularmf3xob0202@test-domain.com:message:received:content_tu1n6a0206 :: true

2022-02-16 21:47:09 |


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


2022-02-16 21:47:09 | [Mutex] received everything.

2022-02-16 21:47:09 | [Mutex] isItemNotified: node_2vj0zh0203:subscribe_node:success :: true

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

2022-02-16 21:47:09 | command: <data><node>node_2vj0zh0203</node><expire-at>2022-02-17T05:47:14Z</expire-at><entry><content>content_ctags10207</content></entry></data>

2022-02-16 21:47:09 | target: http://localhost:8088

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

2022-02-16 21:47:09 | entity: <data><node>node_2vj0zh0203</node><expire-at>2022-02-17T05:47:14Z</expire-at><entry><content>content_ctags10207</content></entry></data>

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

2022-02-16 21:47:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b110031b-e5a4-4d28-9091-693aea62dbdb</value></item-id></result>

2022-02-16 21:47:09 | contains: true

2022-02-16 21:47:17 | [Mutex] waiting for: [user_regularmf3xob0202@test-domain.com:message:received:content_ctags10207]

2022-02-16 21:47:17 | [Mutex] waiting for: [user_regularmf3xob0202@test-domain.com:message:received:content_ctags10207]

2022-02-16 21:47:32 | [Mutex] timeout. Not received [user_regularmf3xob0202@test-domain.com:message:received:content_ctags10207]

2022-02-16 21:47:32 | [Mutex] received everything.

2022-02-16 21:47:32 | [Mutex] isItemNotified: user_regularmf3xob0202@test-domain.com:message:received:content_ctags10207 :: false

2022-02-16 21:47:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ctags10207 :: true