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

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.734s
2020-12-21 21:57:30 |

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

2020-12-21 21:57:30 | ------------------------------------

2020-12-21 21:57:30 | [Mutex] isItemNotified: node_yo4rn80203:exists :: false

2020-12-21 21:57:30 | [Mutex] waiting for: [node_yo4rn80203:create_node]

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

2020-12-21 21:57:30 | [Mutex] isItemNotified: node_yo4rn80203:create_node:success :: true

2020-12-21 21:57:30 | [Mutex] waiting for: [node_yo4rn80203:subscribe_node]

2020-12-21 21:57:30 | [Mutex] waiting for: [node_yo4rn80203:subscribe_node]

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

2020-12-21 21:57:30 | [Mutex] isItemNotified: node_yo4rn80203:subscribe_node:success :: true

2020-12-21 21:57:30 |


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


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

2020-12-21 21:57:30 | command: <data><node>node_yo4rn80203</node><entry><content>content_okib5g0204</content></entry></data>

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

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

2020-12-21 21:57:30 | entity: <data><node>node_yo4rn80203</node><entry><content>content_okib5g0204</content></entry></data>

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

2020-12-21 21:57:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5e6bebed-6221-462f-aa7b-de707a297c9c</value></item-id></result>

2020-12-21 21:57:30 | contains: true

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

2020-12-21 21:57:30 | [Mutex] isItemNotified: user_regular7jops70202@test-domain.com:message:received:content_okib5g0204 :: true

2020-12-21 21:57:30 |


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


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

2020-12-21 21:57:30 | command: <data><node>node_yo4rn80203</node><expire-at>2020-12-22T05:57:25Z</expire-at><entry><content>content_5efrc0205</content></entry></data>

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

2020-12-21 21:57:30 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2020-12-21 21:57:30 | entity: <data><node>node_yo4rn80203</node><expire-at>2020-12-22T05:57:25Z</expire-at><entry><content>content_5efrc0205</content></entry></data>

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

2020-12-21 21:57:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5caa2e6b-ef9d-45c2-95e1-8cea97863a1e</value></item-id></result>

2020-12-21 21:57:30 | contains: true

2020-12-21 21:57:30 | [Mutex] waiting for: [user_regular7jops70202@test-domain.com:message:received:content_5efrc0205]

2020-12-21 21:57:45 | [Mutex] timeout. Not received [user_regular7jops70202@test-domain.com:message:received:content_5efrc0205]

2020-12-21 21:57:45 | [Mutex] isItemNotified: user_regular7jops70202@test-domain.com:message:received:content_5efrc0205 :: false

2020-12-21 21:57:45 |


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


2020-12-21 21:57:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-21 21:57:45 | command: <data><node>node_yo4rn80203</node><entry><content>content_h4e72d0206</content></entry></data>

2020-12-21 21:57:45 | target: http://localhost:8088

2020-12-21 21:57:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-21 21:57:45 | entity: <data><node>node_yo4rn80203</node><entry><content>content_h4e72d0206</content></entry></data>

2020-12-21 21:57:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:57:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-21 21:57:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5f874a87-0260-4a48-b5b6-68b6e598d635</value></item-id></result>

2020-12-21 21:57:45 | contains: true

2020-12-21 21:57:51 | [Mutex] waiting for: [user_regular7jops70202@test-domain.com:message:received:content_h4e72d0206]

2020-12-21 21:57:51 | [Mutex] received everything.

2020-12-21 21:57:51 | [Mutex] isItemNotified: user_regular7jops70202@test-domain.com:message:received:content_h4e72d0206 :: true

2020-12-21 21:57:51 |


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


2020-12-21 21:57:51 | [Mutex] received everything.

2020-12-21 21:57:51 | [Mutex] isItemNotified: node_yo4rn80203:subscribe_node:success :: true

2020-12-21 21:57:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-21 21:57:51 | command: <data><node>node_yo4rn80203</node><expire-at>2020-12-22T05:57:56Z</expire-at><entry><content>content_rkm1uy0207</content></entry></data>

2020-12-21 21:57:51 | target: http://localhost:8088

2020-12-21 21:57:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-21 21:57:51 | entity: <data><node>node_yo4rn80203</node><expire-at>2020-12-22T05:57:56Z</expire-at><entry><content>content_rkm1uy0207</content></entry></data>

2020-12-21 21:57:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:57:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-21 21:57:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>efdd14f5-b095-43f0-b036-8357a0a8496b</value></item-id></result>

2020-12-21 21:57:51 | contains: true

2020-12-21 21:57:59 | [Mutex] waiting for: [user_regular7jops70202@test-domain.com:message:received:content_rkm1uy0207]

2020-12-21 21:57:59 | [Mutex] waiting for: [user_regular7jops70202@test-domain.com:message:received:content_rkm1uy0207]

2020-12-21 21:57:59 | [Mutex] waiting for: [user_regular7jops70202@test-domain.com:message:received:content_rkm1uy0207]

2020-12-21 21:58:14 | [Mutex] timeout. Not received [user_regular7jops70202@test-domain.com:message:received:content_rkm1uy0207]

2020-12-21 21:58:14 | [Mutex] received everything.

2020-12-21 21:58:14 | [Mutex] isItemNotified: user_regular7jops70202@test-domain.com:message:received:content_rkm1uy0207 :: false

2020-12-21 21:58:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rkm1uy0207 :: true