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

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.650s
2022-02-14 21:47:06 |

2022-02-14 21:47:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-14 21:47:06 | ------------------------------------

2022-02-14 21:47:06 | [Mutex] isItemNotified: node_dpddny0203:exists :: false

2022-02-14 21:47:06 | [Mutex] waiting for: [node_dpddny0203:create_node]

2022-02-14 21:47:06 | [Mutex] received everything.

2022-02-14 21:47:06 | [Mutex] isItemNotified: node_dpddny0203:create_node:success :: true

2022-02-14 21:47:06 | [Mutex] waiting for: [node_dpddny0203:subscribe_node]

2022-02-14 21:47:06 | [Mutex] received everything.

2022-02-14 21:47:06 | [Mutex] isItemNotified: node_dpddny0203:subscribe_node:success :: true

2022-02-14 21:47:06 |


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


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

2022-02-14 21:47:06 | command: <data><node>node_dpddny0203</node><entry><content>content_i58sp40204</content></entry></data>

2022-02-14 21:47:06 | target: http://localhost:8088

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

2022-02-14 21:47:06 | entity: <data><node>node_dpddny0203</node><entry><content>content_i58sp40204</content></entry></data>

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

2022-02-14 21:47:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d986c46f-cd18-45b5-a20e-25d83bfb2f47</value></item-id></result>

2022-02-14 21:47:06 | contains: true

2022-02-14 21:47:06 | [Mutex] received everything.

2022-02-14 21:47:06 | [Mutex] isItemNotified: user_regularyl476o0202@test-domain.com:message:received:content_i58sp40204 :: true

2022-02-14 21:47:06 |


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


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

2022-02-14 21:47:06 | command: <data><node>node_dpddny0203</node><expire-at>2022-02-15T05:47:01Z</expire-at><entry><content>content_js7pn40205</content></entry></data>

2022-02-14 21:47:06 | target: http://localhost:8088

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

2022-02-14 21:47:06 | entity: <data><node>node_dpddny0203</node><expire-at>2022-02-15T05:47:01Z</expire-at><entry><content>content_js7pn40205</content></entry></data>

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

2022-02-14 21:47:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2050972f-0af0-47b2-ad05-4af5211d522f</value></item-id></result>

2022-02-14 21:47:06 | contains: true

2022-02-14 21:47:06 | [Mutex] waiting for: [user_regularyl476o0202@test-domain.com:message:received:content_js7pn40205]

2022-02-14 21:47:21 | [Mutex] timeout. Not received [user_regularyl476o0202@test-domain.com:message:received:content_js7pn40205]

2022-02-14 21:47:21 | [Mutex] isItemNotified: user_regularyl476o0202@test-domain.com:message:received:content_js7pn40205 :: false

2022-02-14 21:47:21 |


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


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

2022-02-14 21:47:21 | command: <data><node>node_dpddny0203</node><entry><content>content_skx2ls0206</content></entry></data>

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

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

2022-02-14 21:47:21 | entity: <data><node>node_dpddny0203</node><entry><content>content_skx2ls0206</content></entry></data>

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

2022-02-14 21:47:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>69aa5574-a725-4c89-9d85-053394fd3f56</value></item-id></result>

2022-02-14 21:47:21 | contains: true

2022-02-14 21:47:26 | [Mutex] waiting for: [user_regularyl476o0202@test-domain.com:message:received:content_skx2ls0206]

2022-02-14 21:47:26 | [Mutex] received everything.

2022-02-14 21:47:26 | [Mutex] isItemNotified: user_regularyl476o0202@test-domain.com:message:received:content_skx2ls0206 :: true

2022-02-14 21:47:26 |


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


2022-02-14 21:47:26 | [Mutex] received everything.

2022-02-14 21:47:26 | [Mutex] isItemNotified: node_dpddny0203:subscribe_node:success :: true

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

2022-02-14 21:47:26 | command: <data><node>node_dpddny0203</node><expire-at>2022-02-15T05:47:31Z</expire-at><entry><content>content_uoyiyr0207</content></entry></data>

2022-02-14 21:47:26 | target: http://localhost:8088

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

2022-02-14 21:47:26 | entity: <data><node>node_dpddny0203</node><expire-at>2022-02-15T05:47:31Z</expire-at><entry><content>content_uoyiyr0207</content></entry></data>

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

2022-02-14 21:47:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>85315f90-3e2a-4803-8e25-349912db6920</value></item-id></result>

2022-02-14 21:47:26 | contains: true

2022-02-14 21:47:35 | [Mutex] waiting for: [user_regularyl476o0202@test-domain.com:message:received:content_uoyiyr0207]

2022-02-14 21:47:35 | [Mutex] waiting for: [user_regularyl476o0202@test-domain.com:message:received:content_uoyiyr0207]

2022-02-14 21:47:50 | [Mutex] timeout. Not received [user_regularyl476o0202@test-domain.com:message:received:content_uoyiyr0207]

2022-02-14 21:47:50 | [Mutex] received everything.

2022-02-14 21:47:50 | [Mutex] isItemNotified: user_regularyl476o0202@test-domain.com:message:received:content_uoyiyr0207 :: false

2022-02-14 21:47:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uoyiyr0207 :: true