Generated by TestNG with ReportNG at 21:47 PST on Monday 14 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.129s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.579s
2022-02-14 22:02:58 |

2022-02-14 22:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-14 22:02:58 | ------------------------------------

2022-02-14 22:02:58 | [Mutex] isItemNotified: node_cl14xn0203:exists :: false

2022-02-14 22:02:58 | [Mutex] waiting for: [node_cl14xn0203:create_node]

2022-02-14 22:02:58 | [Mutex] received everything.

2022-02-14 22:02:58 | [Mutex] isItemNotified: node_cl14xn0203:create_node:success :: true

2022-02-14 22:02:58 | [Mutex] waiting for: [node_cl14xn0203:subscribe_node]

2022-02-14 22:02:58 | [Mutex] waiting for: [node_cl14xn0203:subscribe_node]

2022-02-14 22:02:58 | [Mutex] received everything.

2022-02-14 22:02:58 | [Mutex] isItemNotified: node_cl14xn0203:subscribe_node:success :: true

2022-02-14 22:02:58 |


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


2022-02-14 22:02:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-14 22:02:58 | command: <data><node>node_cl14xn0203</node><entry><content>content_imqipf0204</content></entry></data>

2022-02-14 22:02:58 | target: http://localhost:8088

2022-02-14 22:02:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-14 22:02:58 | entity: <data><node>node_cl14xn0203</node><entry><content>content_imqipf0204</content></entry></data>

2022-02-14 22:02:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 06:02:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-14 22:02:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b58c5018-1e89-4ab9-84be-9430a0f43d2d</value></item-id></result>

2022-02-14 22:02:59 | contains: true

2022-02-14 22:02:59 | [Mutex] waiting for: [user_regularwna34a0202@test-domain.com:message:received:content_imqipf0204]

2022-02-14 22:02:59 | [Mutex] received everything.

2022-02-14 22:02:59 | [Mutex] isItemNotified: user_regularwna34a0202@test-domain.com:message:received:content_imqipf0204 :: true

2022-02-14 22:02:59 |


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


2022-02-14 22:02:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-14 22:02:59 | command: <data><node>node_cl14xn0203</node><expire-at>2022-02-15T06:02:54Z</expire-at><entry><content>content_xsyizx0205</content></entry></data>

2022-02-14 22:02:59 | target: http://localhost:8088

2022-02-14 22:02:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-14 22:02:59 | entity: <data><node>node_cl14xn0203</node><expire-at>2022-02-15T06:02:54Z</expire-at><entry><content>content_xsyizx0205</content></entry></data>

2022-02-14 22:02:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 06:02:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-14 22:02:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f28c29bf-2550-4711-b002-2acd5133911a</value></item-id></result>

2022-02-14 22:02:59 | contains: true

2022-02-14 22:02:59 | [Mutex] waiting for: [user_regularwna34a0202@test-domain.com:message:received:content_xsyizx0205]

2022-02-14 22:03:14 | [Mutex] timeout. Not received [user_regularwna34a0202@test-domain.com:message:received:content_xsyizx0205]

2022-02-14 22:03:14 | [Mutex] isItemNotified: user_regularwna34a0202@test-domain.com:message:received:content_xsyizx0205 :: false

2022-02-14 22:03:14 |


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


2022-02-14 22:03:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-14 22:03:14 | command: <data><node>node_cl14xn0203</node><entry><content>content_gx9ljw0206</content></entry></data>

2022-02-14 22:03:14 | target: http://localhost:8088

2022-02-14 22:03:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-14 22:03:14 | entity: <data><node>node_cl14xn0203</node><entry><content>content_gx9ljw0206</content></entry></data>

2022-02-14 22:03:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 06:03:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-14 22:03:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d17e3b0f-312e-4d51-a9f2-f8739ebdcc7e</value></item-id></result>

2022-02-14 22:03:14 | contains: true

2022-02-14 22:03:19 | [Mutex] received everything.

2022-02-14 22:03:19 | [Mutex] isItemNotified: user_regularwna34a0202@test-domain.com:message:received:content_gx9ljw0206 :: true

2022-02-14 22:03:19 |


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


2022-02-14 22:03:19 | [Mutex] received everything.

2022-02-14 22:03:19 | [Mutex] isItemNotified: node_cl14xn0203:subscribe_node:success :: true

2022-02-14 22:03:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-14 22:03:19 | command: <data><node>node_cl14xn0203</node><expire-at>2022-02-15T06:03:24Z</expire-at><entry><content>content_n7lktq0207</content></entry></data>

2022-02-14 22:03:19 | target: http://localhost:8088

2022-02-14 22:03:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-14 22:03:19 | entity: <data><node>node_cl14xn0203</node><expire-at>2022-02-15T06:03:24Z</expire-at><entry><content>content_n7lktq0207</content></entry></data>

2022-02-14 22:03:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 06:03:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-14 22:03:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3591df2c-4c32-448b-869a-2b7fa3b48b1d</value></item-id></result>

2022-02-14 22:03:19 | contains: true

2022-02-14 22:03:27 | [Mutex] waiting for: [user_regularwna34a0202@test-domain.com:message:received:content_n7lktq0207]

2022-02-14 22:03:42 | [Mutex] timeout. Not received [user_regularwna34a0202@test-domain.com:message:received:content_n7lktq0207]

2022-02-14 22:03:42 | [Mutex] received everything.

2022-02-14 22:03:42 | [Mutex] isItemNotified: user_regularwna34a0202@test-domain.com:message:received:content_n7lktq0207 :: false

2022-02-14 22:03:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_n7lktq0207 :: true