Generated by TestNG with ReportNG at 22:58 PDT on Saturday 19 September 2020
root@9a694adb6f25 / 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.277s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.690s
2020-09-19 23:15:00 |

2020-09-19 23:15:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-19 23:15:00 | ------------------------------------

2020-09-19 23:15:00 | [Mutex] isItemNotified: node_xrlx4t0203:exists :: false

2020-09-19 23:15:00 | [Mutex] waiting for: [node_xrlx4t0203:create_node]

2020-09-19 23:15:00 | [Mutex] received everything.

2020-09-19 23:15:00 | [Mutex] isItemNotified: node_xrlx4t0203:create_node:success :: true

2020-09-19 23:15:00 | [Mutex] waiting for: [node_xrlx4t0203:subscribe_node]

2020-09-19 23:15:00 | [Mutex] waiting for: [node_xrlx4t0203:subscribe_node]

2020-09-19 23:15:00 | [Mutex] received everything.

2020-09-19 23:15:00 | [Mutex] isItemNotified: node_xrlx4t0203:subscribe_node:success :: true

2020-09-19 23:15:00 |


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


2020-09-19 23:15:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 23:15:00 | command: <data><node>node_xrlx4t0203</node><entry><content>content_4lbwg00204</content></entry></data>

2020-09-19 23:15:00 | target: http://localhost:8088

2020-09-19 23:15:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-19 23:15:00 | entity: <data><node>node_xrlx4t0203</node><entry><content>content_4lbwg00204</content></entry></data>

2020-09-19 23:15:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 06:15:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 23:15:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e1c22731-9215-43c3-84ae-f94eb71cd6e9</value></item-id></result>

2020-09-19 23:15:00 | contains: true

2020-09-19 23:15:00 | [Mutex] received everything.

2020-09-19 23:15:00 | [Mutex] isItemNotified: user_regularjswdbj0202@test-domain.com:message:received:content_4lbwg00204 :: true

2020-09-19 23:15:00 |


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


2020-09-19 23:15:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 23:15:00 | command: <data><node>node_xrlx4t0203</node><expire-at>2020-09-20T06:14:55Z</expire-at><entry><content>content_e6nora0205</content></entry></data>

2020-09-19 23:15:00 | target: http://localhost:8088

2020-09-19 23:15:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-19 23:15:00 | entity: <data><node>node_xrlx4t0203</node><expire-at>2020-09-20T06:14:55Z</expire-at><entry><content>content_e6nora0205</content></entry></data>

2020-09-19 23:15:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 06:15:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 23:15:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ced85880-664d-49c0-8b59-7e8511489485</value></item-id></result>

2020-09-19 23:15:00 | contains: true

2020-09-19 23:15:00 | [Mutex] waiting for: [user_regularjswdbj0202@test-domain.com:message:received:content_e6nora0205]

2020-09-19 23:15:15 | [Mutex] timeout. Not received [user_regularjswdbj0202@test-domain.com:message:received:content_e6nora0205]

2020-09-19 23:15:15 | [Mutex] isItemNotified: user_regularjswdbj0202@test-domain.com:message:received:content_e6nora0205 :: false

2020-09-19 23:15:15 |


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


2020-09-19 23:15:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 23:15:15 | command: <data><node>node_xrlx4t0203</node><entry><content>content_2p26gp0206</content></entry></data>

2020-09-19 23:15:15 | target: http://localhost:8088

2020-09-19 23:15:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-19 23:15:15 | entity: <data><node>node_xrlx4t0203</node><entry><content>content_2p26gp0206</content></entry></data>

2020-09-19 23:15:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 06:15:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 23:15:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b68d80fc-dd98-48c2-b3a8-8b5b37472466</value></item-id></result>

2020-09-19 23:15:15 | contains: true

2020-09-19 23:15:20 | [Mutex] waiting for: [user_regularjswdbj0202@test-domain.com:message:received:content_2p26gp0206]

2020-09-19 23:15:20 | [Mutex] received everything.

2020-09-19 23:15:20 | [Mutex] isItemNotified: user_regularjswdbj0202@test-domain.com:message:received:content_2p26gp0206 :: true

2020-09-19 23:15:20 |


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


2020-09-19 23:15:20 | [Mutex] received everything.

2020-09-19 23:15:20 | [Mutex] isItemNotified: node_xrlx4t0203:subscribe_node:success :: true

2020-09-19 23:15:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 23:15:20 | command: <data><node>node_xrlx4t0203</node><expire-at>2020-09-20T06:15:25Z</expire-at><entry><content>content_cixv3b0207</content></entry></data>

2020-09-19 23:15:20 | target: http://localhost:8088

2020-09-19 23:15:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-19 23:15:20 | entity: <data><node>node_xrlx4t0203</node><expire-at>2020-09-20T06:15:25Z</expire-at><entry><content>content_cixv3b0207</content></entry></data>

2020-09-19 23:15:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 06:15:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 23:15:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7748b01e-8f63-4d0f-805f-98261a44c4a0</value></item-id></result>

2020-09-19 23:15:20 | contains: true

2020-09-19 23:15:28 | [Mutex] waiting for: [user_regularjswdbj0202@test-domain.com:message:received:content_cixv3b0207]

2020-09-19 23:15:28 | [Mutex] waiting for: [user_regularjswdbj0202@test-domain.com:message:received:content_cixv3b0207]

2020-09-19 23:15:43 | [Mutex] timeout. Not received [user_regularjswdbj0202@test-domain.com:message:received:content_cixv3b0207]

2020-09-19 23:15:43 | [Mutex] received everything.

2020-09-19 23:15:43 | [Mutex] isItemNotified: user_regularjswdbj0202@test-domain.com:message:received:content_cixv3b0207 :: false

2020-09-19 23:15:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_cixv3b0207 :: true