Generated by TestNG with ReportNG at 21:15 PST on Monday 04 January 2021
root@87f6aca6b6f2 / 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.443s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.759s
2021-01-04 21:30:15 |

2021-01-04 21:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-04 21:30:15 | ------------------------------------

2021-01-04 21:30:15 | [Mutex] isItemNotified: node_jvcrn50203:exists :: false

2021-01-04 21:30:15 | [Mutex] waiting for: [node_jvcrn50203:create_node]

2021-01-04 21:30:15 | [Mutex] received everything.

2021-01-04 21:30:15 | [Mutex] isItemNotified: node_jvcrn50203:create_node:success :: true

2021-01-04 21:30:15 | [Mutex] waiting for: [node_jvcrn50203:subscribe_node]

2021-01-04 21:30:15 | [Mutex] received everything.

2021-01-04 21:30:15 | [Mutex] isItemNotified: node_jvcrn50203:subscribe_node:success :: true

2021-01-04 21:30:15 |


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


2021-01-04 21:30:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-04 21:30:15 | command: <data><node>node_jvcrn50203</node><entry><content>content_mhic290204</content></entry></data>

2021-01-04 21:30:15 | target: http://localhost:8088

2021-01-04 21:30:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-04 21:30:15 | entity: <data><node>node_jvcrn50203</node><entry><content>content_mhic290204</content></entry></data>

2021-01-04 21:30:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 05 Jan 2021 05:30:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-04 21:30:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>af1ac1d7-1bd8-4cd1-9030-99ffb83c547d</value></item-id></result>

2021-01-04 21:30:15 | contains: true

2021-01-04 21:30:15 | [Mutex] received everything.

2021-01-04 21:30:15 | [Mutex] isItemNotified: user_regular7cxkpx0202@test-domain.com:message:received:content_mhic290204 :: true

2021-01-04 21:30:15 |


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


2021-01-04 21:30:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-04 21:30:15 | command: <data><node>node_jvcrn50203</node><expire-at>2021-01-05T05:30:10Z</expire-at><entry><content>content_qs3qb30205</content></entry></data>

2021-01-04 21:30:15 | target: http://localhost:8088

2021-01-04 21:30:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-04 21:30:15 | entity: <data><node>node_jvcrn50203</node><expire-at>2021-01-05T05:30:10Z</expire-at><entry><content>content_qs3qb30205</content></entry></data>

2021-01-04 21:30:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 05 Jan 2021 05:30:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-04 21:30:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>84fa1bee-f51e-4971-ac5b-47cd2636900d</value></item-id></result>

2021-01-04 21:30:15 | contains: true

2021-01-04 21:30:15 | [Mutex] waiting for: [user_regular7cxkpx0202@test-domain.com:message:received:content_qs3qb30205]

2021-01-04 21:30:30 | [Mutex] timeout. Not received [user_regular7cxkpx0202@test-domain.com:message:received:content_qs3qb30205]

2021-01-04 21:30:30 | [Mutex] isItemNotified: user_regular7cxkpx0202@test-domain.com:message:received:content_qs3qb30205 :: false

2021-01-04 21:30:30 |


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


2021-01-04 21:30:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-04 21:30:30 | command: <data><node>node_jvcrn50203</node><entry><content>content_7j0sjs0206</content></entry></data>

2021-01-04 21:30:30 | target: http://localhost:8088

2021-01-04 21:30:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-04 21:30:30 | entity: <data><node>node_jvcrn50203</node><entry><content>content_7j0sjs0206</content></entry></data>

2021-01-04 21:30:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 05 Jan 2021 05:30:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-04 21:30:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ca38604c-a168-40f8-a4ff-6d0fabc1c3e8</value></item-id></result>

2021-01-04 21:30:30 | contains: true

2021-01-04 21:30:35 | [Mutex] waiting for: [user_regular7cxkpx0202@test-domain.com:message:received:content_7j0sjs0206]

2021-01-04 21:30:35 | [Mutex] received everything.

2021-01-04 21:30:35 | [Mutex] isItemNotified: user_regular7cxkpx0202@test-domain.com:message:received:content_7j0sjs0206 :: true

2021-01-04 21:30:35 |


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


2021-01-04 21:30:35 | [Mutex] received everything.

2021-01-04 21:30:35 | [Mutex] isItemNotified: node_jvcrn50203:subscribe_node:success :: true

2021-01-04 21:30:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-04 21:30:35 | command: <data><node>node_jvcrn50203</node><expire-at>2021-01-05T05:30:40Z</expire-at><entry><content>content_qj5vtm0207</content></entry></data>

2021-01-04 21:30:35 | target: http://localhost:8088

2021-01-04 21:30:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-04 21:30:35 | entity: <data><node>node_jvcrn50203</node><expire-at>2021-01-05T05:30:40Z</expire-at><entry><content>content_qj5vtm0207</content></entry></data>

2021-01-04 21:30:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 05 Jan 2021 05:30:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-04 21:30:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>07a312f0-ff22-40a0-b1ac-3c5da9a244d6</value></item-id></result>

2021-01-04 21:30:36 | contains: true

2021-01-04 21:30:44 | [Mutex] waiting for: [user_regular7cxkpx0202@test-domain.com:message:received:content_qj5vtm0207]

2021-01-04 21:30:59 | [Mutex] timeout. Not received [user_regular7cxkpx0202@test-domain.com:message:received:content_qj5vtm0207]

2021-01-04 21:30:59 | [Mutex] received everything.

2021-01-04 21:30:59 | [Mutex] isItemNotified: user_regular7cxkpx0202@test-domain.com:message:received:content_qj5vtm0207 :: false

2021-01-04 21:30:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qj5vtm0207 :: true