Generated by TestNG with ReportNG at 21:18 PST on Thursday 10 February 2022
root@785cf647a4ab / 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.065s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.596s
2022-02-10 21:32:41 |

2022-02-10 21:32:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-10 21:32:41 | ------------------------------------

2022-02-10 21:32:41 | [Mutex] isItemNotified: node_7u8m330203:exists :: false

2022-02-10 21:32:41 | [Mutex] waiting for: [node_7u8m330203:create_node]

2022-02-10 21:32:41 | [Mutex] received everything.

2022-02-10 21:32:41 | [Mutex] isItemNotified: node_7u8m330203:create_node:success :: true

2022-02-10 21:32:41 | [Mutex] waiting for: [node_7u8m330203:subscribe_node]

2022-02-10 21:32:41 | [Mutex] received everything.

2022-02-10 21:32:41 | [Mutex] isItemNotified: node_7u8m330203:subscribe_node:success :: true

2022-02-10 21:32:41 |


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


2022-02-10 21:32:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-10 21:32:41 | command: <data><node>node_7u8m330203</node><entry><content>content_u1jtir0204</content></entry></data>

2022-02-10 21:32:41 | target: http://localhost:8088

2022-02-10 21:32:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-10 21:32:41 | entity: <data><node>node_7u8m330203</node><entry><content>content_u1jtir0204</content></entry></data>

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

2022-02-10 21:32:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8ddd63c0-ed6c-4d50-b413-21ed1811e4a9</value></item-id></result>

2022-02-10 21:32:41 | contains: true

2022-02-10 21:32:41 | [Mutex] received everything.

2022-02-10 21:32:41 | [Mutex] isItemNotified: user_regularxen52o0202@test-domain.com:message:received:content_u1jtir0204 :: true

2022-02-10 21:32:41 |


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


2022-02-10 21:32:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-10 21:32:41 | command: <data><node>node_7u8m330203</node><expire-at>2022-02-11T05:32:36Z</expire-at><entry><content>content_tn8blg0205</content></entry></data>

2022-02-10 21:32:41 | target: http://localhost:8088

2022-02-10 21:32:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-10 21:32:41 | entity: <data><node>node_7u8m330203</node><expire-at>2022-02-11T05:32:36Z</expire-at><entry><content>content_tn8blg0205</content></entry></data>

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

2022-02-10 21:32:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>99c7cb34-50c9-422a-bd06-925ffbb1017b</value></item-id></result>

2022-02-10 21:32:41 | contains: true

2022-02-10 21:32:41 | [Mutex] waiting for: [user_regularxen52o0202@test-domain.com:message:received:content_tn8blg0205]

2022-02-10 21:32:56 | [Mutex] timeout. Not received [user_regularxen52o0202@test-domain.com:message:received:content_tn8blg0205]

2022-02-10 21:32:56 | [Mutex] isItemNotified: user_regularxen52o0202@test-domain.com:message:received:content_tn8blg0205 :: false

2022-02-10 21:32:56 |


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


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

2022-02-10 21:32:56 | command: <data><node>node_7u8m330203</node><entry><content>content_njle1g0206</content></entry></data>

2022-02-10 21:32:56 | target: http://localhost:8088

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

2022-02-10 21:32:56 | entity: <data><node>node_7u8m330203</node><entry><content>content_njle1g0206</content></entry></data>

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

2022-02-10 21:32:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8210418d-959e-4eba-b0b6-7c609027416e</value></item-id></result>

2022-02-10 21:32:56 | contains: true

2022-02-10 21:33:02 | [Mutex] waiting for: [user_regularxen52o0202@test-domain.com:message:received:content_njle1g0206]

2022-02-10 21:33:02 | [Mutex] received everything.

2022-02-10 21:33:02 | [Mutex] isItemNotified: user_regularxen52o0202@test-domain.com:message:received:content_njle1g0206 :: true

2022-02-10 21:33:02 |


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


2022-02-10 21:33:02 | [Mutex] received everything.

2022-02-10 21:33:02 | [Mutex] isItemNotified: node_7u8m330203:subscribe_node:success :: true

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

2022-02-10 21:33:02 | command: <data><node>node_7u8m330203</node><expire-at>2022-02-11T05:33:07Z</expire-at><entry><content>content_1j0vwj0207</content></entry></data>

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

2022-02-10 21:33:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-10 21:33:02 | entity: <data><node>node_7u8m330203</node><expire-at>2022-02-11T05:33:07Z</expire-at><entry><content>content_1j0vwj0207</content></entry></data>

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

2022-02-10 21:33:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eb6d30bf-604e-4d9c-955c-c99d02cac166</value></item-id></result>

2022-02-10 21:33:02 | contains: true

2022-02-10 21:33:10 | [Mutex] waiting for: [user_regularxen52o0202@test-domain.com:message:received:content_1j0vwj0207]

2022-02-10 21:33:10 | [Mutex] waiting for: [user_regularxen52o0202@test-domain.com:message:received:content_1j0vwj0207]

2022-02-10 21:33:25 | [Mutex] timeout. Not received [user_regularxen52o0202@test-domain.com:message:received:content_1j0vwj0207]

2022-02-10 21:33:25 | [Mutex] received everything.

2022-02-10 21:33:25 | [Mutex] isItemNotified: user_regularxen52o0202@test-domain.com:message:received:content_1j0vwj0207 :: false

2022-02-10 21:33:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1j0vwj0207 :: true