Generated by TestNG with ReportNG at 21:21 PST on Wednesday 30 December 2020
root@43fec6d4badf / 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.429s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.790s
2020-12-30 21:36:25 |

2020-12-30 21:36:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-12-30 21:36:25 | ------------------------------------

2020-12-30 21:36:25 | [Mutex] isItemNotified: node_3vr86y0203:exists :: false

2020-12-30 21:36:25 | [Mutex] waiting for: [node_3vr86y0203:create_node]

2020-12-30 21:36:25 | [Mutex] received everything.

2020-12-30 21:36:25 | [Mutex] isItemNotified: node_3vr86y0203:create_node:success :: true

2020-12-30 21:36:25 | [Mutex] waiting for: [node_3vr86y0203:subscribe_node]

2020-12-30 21:36:25 | [Mutex] waiting for: [node_3vr86y0203:subscribe_node]

2020-12-30 21:36:25 | [Mutex] received everything.

2020-12-30 21:36:25 | [Mutex] isItemNotified: node_3vr86y0203:subscribe_node:success :: true

2020-12-30 21:36:25 |


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


2020-12-30 21:36:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 21:36:25 | command: <data><node>node_3vr86y0203</node><entry><content>content_wa378r0204</content></entry></data>

2020-12-30 21:36:25 | target: http://localhost:8088

2020-12-30 21:36:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-30 21:36:25 | entity: <data><node>node_3vr86y0203</node><entry><content>content_wa378r0204</content></entry></data>

2020-12-30 21:36:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 05:36:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 21:36:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>793e42ab-c3c6-4642-8dad-3889a307a3c9</value></item-id></result>

2020-12-30 21:36:25 | contains: true

2020-12-30 21:36:25 | [Mutex] waiting for: [user_regulart3h7bj0202@test-domain.com:message:received:content_wa378r0204]

2020-12-30 21:36:25 | [Mutex] received everything.

2020-12-30 21:36:25 | [Mutex] isItemNotified: user_regulart3h7bj0202@test-domain.com:message:received:content_wa378r0204 :: true

2020-12-30 21:36:25 |


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


2020-12-30 21:36:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 21:36:25 | command: <data><node>node_3vr86y0203</node><expire-at>2020-12-31T05:36:20Z</expire-at><entry><content>content_9l3bbo0205</content></entry></data>

2020-12-30 21:36:25 | target: http://localhost:8088

2020-12-30 21:36:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-30 21:36:25 | entity: <data><node>node_3vr86y0203</node><expire-at>2020-12-31T05:36:20Z</expire-at><entry><content>content_9l3bbo0205</content></entry></data>

2020-12-30 21:36:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 05:36:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 21:36:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f57455da-1c5a-4087-bc75-b50025c707a6</value></item-id></result>

2020-12-30 21:36:25 | contains: true

2020-12-30 21:36:25 | [Mutex] waiting for: [user_regulart3h7bj0202@test-domain.com:message:received:content_9l3bbo0205]

2020-12-30 21:36:40 | [Mutex] timeout. Not received [user_regulart3h7bj0202@test-domain.com:message:received:content_9l3bbo0205]

2020-12-30 21:36:40 | [Mutex] isItemNotified: user_regulart3h7bj0202@test-domain.com:message:received:content_9l3bbo0205 :: false

2020-12-30 21:36:40 |


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


2020-12-30 21:36:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 21:36:40 | command: <data><node>node_3vr86y0203</node><entry><content>content_ppyqe70206</content></entry></data>

2020-12-30 21:36:40 | target: http://localhost:8088

2020-12-30 21:36:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-30 21:36:40 | entity: <data><node>node_3vr86y0203</node><entry><content>content_ppyqe70206</content></entry></data>

2020-12-30 21:36:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 05:36:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 21:36:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>15716a23-b0de-4ad1-aefa-375502377897</value></item-id></result>

2020-12-30 21:36:40 | contains: true

2020-12-30 21:36:46 | [Mutex] waiting for: [user_regulart3h7bj0202@test-domain.com:message:received:content_ppyqe70206]

2020-12-30 21:36:46 | [Mutex] received everything.

2020-12-30 21:36:46 | [Mutex] isItemNotified: user_regulart3h7bj0202@test-domain.com:message:received:content_ppyqe70206 :: true

2020-12-30 21:36:46 |


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


2020-12-30 21:36:46 | [Mutex] received everything.

2020-12-30 21:36:46 | [Mutex] isItemNotified: node_3vr86y0203:subscribe_node:success :: true

2020-12-30 21:36:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-30 21:36:46 | command: <data><node>node_3vr86y0203</node><expire-at>2020-12-31T05:36:51Z</expire-at><entry><content>content_y5abxh0207</content></entry></data>

2020-12-30 21:36:46 | target: http://localhost:8088

2020-12-30 21:36:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-30 21:36:46 | entity: <data><node>node_3vr86y0203</node><expire-at>2020-12-31T05:36:51Z</expire-at><entry><content>content_y5abxh0207</content></entry></data>

2020-12-30 21:36:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 05:36:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-30 21:36:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>42fee138-0821-4ae5-afe3-645b9e78fa6a</value></item-id></result>

2020-12-30 21:36:46 | contains: true

2020-12-30 21:36:54 | [Mutex] waiting for: [user_regulart3h7bj0202@test-domain.com:message:received:content_y5abxh0207]

2020-12-30 21:36:54 | [Mutex] waiting for: [user_regulart3h7bj0202@test-domain.com:message:received:content_y5abxh0207]

2020-12-30 21:37:09 | [Mutex] timeout. Not received [user_regulart3h7bj0202@test-domain.com:message:received:content_y5abxh0207]

2020-12-30 21:37:09 | [Mutex] received everything.

2020-12-30 21:37:09 | [Mutex] isItemNotified: user_regulart3h7bj0202@test-domain.com:message:received:content_y5abxh0207 :: false

2020-12-30 21:37:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_y5abxh0207 :: true