Generated by TestNG with ReportNG at 21:31 PST on Thursday 10 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.004s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.704s
2022-02-10 21:47:38 |

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

2022-02-10 21:47:38 | ------------------------------------

2022-02-10 21:47:38 | [Mutex] isItemNotified: node_plmtoz0203:exists :: false

2022-02-10 21:47:38 | [Mutex] waiting for: [node_plmtoz0203:create_node]

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

2022-02-10 21:47:38 | [Mutex] isItemNotified: node_plmtoz0203:create_node:success :: true

2022-02-10 21:47:38 | [Mutex] waiting for: [node_plmtoz0203:subscribe_node]

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

2022-02-10 21:47:38 | [Mutex] isItemNotified: node_plmtoz0203:subscribe_node:success :: true

2022-02-10 21:47:38 |


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


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

2022-02-10 21:47:38 | command: <data><node>node_plmtoz0203</node><entry><content>content_4462mx0204</content></entry></data>

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

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

2022-02-10 21:47:38 | entity: <data><node>node_plmtoz0203</node><entry><content>content_4462mx0204</content></entry></data>

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

2022-02-10 21:47:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8439628e-355f-4e7d-8889-30b62db94be8</value></item-id></result>

2022-02-10 21:47:38 | contains: true

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

2022-02-10 21:47:38 | [Mutex] isItemNotified: user_regularngps6l0202@test-domain.com:message:received:content_4462mx0204 :: true

2022-02-10 21:47:38 |


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


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

2022-02-10 21:47:38 | command: <data><node>node_plmtoz0203</node><expire-at>2022-02-11T05:47:33Z</expire-at><entry><content>content_r8ci0n0205</content></entry></data>

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

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

2022-02-10 21:47:38 | entity: <data><node>node_plmtoz0203</node><expire-at>2022-02-11T05:47:33Z</expire-at><entry><content>content_r8ci0n0205</content></entry></data>

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

2022-02-10 21:47:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>69ef1849-c6f0-4527-ac30-536cb56aa936</value></item-id></result>

2022-02-10 21:47:38 | contains: true

2022-02-10 21:47:38 | [Mutex] waiting for: [user_regularngps6l0202@test-domain.com:message:received:content_r8ci0n0205]

2022-02-10 21:47:53 | [Mutex] timeout. Not received [user_regularngps6l0202@test-domain.com:message:received:content_r8ci0n0205]

2022-02-10 21:47:53 | [Mutex] isItemNotified: user_regularngps6l0202@test-domain.com:message:received:content_r8ci0n0205 :: false

2022-02-10 21:47:53 |


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


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

2022-02-10 21:47:53 | command: <data><node>node_plmtoz0203</node><entry><content>content_2v7fbk0206</content></entry></data>

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

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

2022-02-10 21:47:53 | entity: <data><node>node_plmtoz0203</node><entry><content>content_2v7fbk0206</content></entry></data>

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

2022-02-10 21:47:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>74c9e568-8327-4b76-abde-9a6dddc600e4</value></item-id></result>

2022-02-10 21:47:53 | contains: true

2022-02-10 21:47:59 | [Mutex] waiting for: [user_regularngps6l0202@test-domain.com:message:received:content_2v7fbk0206]

2022-02-10 21:47:59 | [Mutex] waiting for: [user_regularngps6l0202@test-domain.com:message:received:content_2v7fbk0206]

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

2022-02-10 21:47:59 | [Mutex] isItemNotified: user_regularngps6l0202@test-domain.com:message:received:content_2v7fbk0206 :: true

2022-02-10 21:47:59 |


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


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

2022-02-10 21:47:59 | [Mutex] isItemNotified: node_plmtoz0203:subscribe_node:success :: true

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

2022-02-10 21:47:59 | command: <data><node>node_plmtoz0203</node><expire-at>2022-02-11T05:48:04Z</expire-at><entry><content>content_yya10p0207</content></entry></data>

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

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

2022-02-10 21:47:59 | entity: <data><node>node_plmtoz0203</node><expire-at>2022-02-11T05:48:04Z</expire-at><entry><content>content_yya10p0207</content></entry></data>

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

2022-02-10 21:47:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>32bcb6c7-65cf-433f-b1b3-15746faba493</value></item-id></result>

2022-02-10 21:47:59 | contains: true

2022-02-10 21:48:07 | [Mutex] waiting for: [user_regularngps6l0202@test-domain.com:message:received:content_yya10p0207]

2022-02-10 21:48:07 | [Mutex] waiting for: [user_regularngps6l0202@test-domain.com:message:received:content_yya10p0207]

2022-02-10 21:48:07 | [Mutex] waiting for: [user_regularngps6l0202@test-domain.com:message:received:content_yya10p0207]

2022-02-10 21:48:22 | [Mutex] timeout. Not received [user_regularngps6l0202@test-domain.com:message:received:content_yya10p0207]

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

2022-02-10 21:48:22 | [Mutex] isItemNotified: user_regularngps6l0202@test-domain.com:message:received:content_yya10p0207 :: false

2022-02-10 21:48:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yya10p0207 :: true