Generated by TestNG with ReportNG at 22:01 PST on Sunday 05 December 2021
root@785cf647a4ab / 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.656s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.740s
2021-12-05 22:16:52 |

2021-12-05 22:16:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-12-05 22:16:52 | ------------------------------------

2021-12-05 22:16:52 | [Mutex] isItemNotified: node_knaiv60203:exists :: false

2021-12-05 22:16:52 | [Mutex] waiting for: [node_knaiv60203:create_node]

2021-12-05 22:16:52 | [Mutex] received everything.

2021-12-05 22:16:52 | [Mutex] isItemNotified: node_knaiv60203:create_node:success :: true

2021-12-05 22:16:52 | [Mutex] waiting for: [node_knaiv60203:subscribe_node]

2021-12-05 22:16:52 | [Mutex] received everything.

2021-12-05 22:16:52 | [Mutex] isItemNotified: node_knaiv60203:subscribe_node:success :: true

2021-12-05 22:16:52 |


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


2021-12-05 22:16:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 22:16:52 | command: <data><node>node_knaiv60203</node><entry><content>content_i6gcqf0204</content></entry></data>

2021-12-05 22:16:52 | target: http://localhost:8088

2021-12-05 22:16:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-05 22:16:52 | entity: <data><node>node_knaiv60203</node><entry><content>content_i6gcqf0204</content></entry></data>

2021-12-05 22:16:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 06:16:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 22:16:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9cd2a7f3-9641-4250-9d4c-a6c05748f976</value></item-id></result>

2021-12-05 22:16:52 | contains: true

2021-12-05 22:16:52 | [Mutex] received everything.

2021-12-05 22:16:52 | [Mutex] isItemNotified: user_regularde99t60202@test-domain.com:message:received:content_i6gcqf0204 :: true

2021-12-05 22:16:52 |


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


2021-12-05 22:16:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 22:16:52 | command: <data><node>node_knaiv60203</node><expire-at>2021-12-06T06:16:47Z</expire-at><entry><content>content_4ijcoj0205</content></entry></data>

2021-12-05 22:16:52 | target: http://localhost:8088

2021-12-05 22:16:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-05 22:16:52 | entity: <data><node>node_knaiv60203</node><expire-at>2021-12-06T06:16:47Z</expire-at><entry><content>content_4ijcoj0205</content></entry></data>

2021-12-05 22:16:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 06:16:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 22:16:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1734fd62-9f0f-42aa-87fa-9ad74b806ab8</value></item-id></result>

2021-12-05 22:16:52 | contains: true

2021-12-05 22:16:52 | [Mutex] waiting for: [user_regularde99t60202@test-domain.com:message:received:content_4ijcoj0205]

2021-12-05 22:17:07 | [Mutex] timeout. Not received [user_regularde99t60202@test-domain.com:message:received:content_4ijcoj0205]

2021-12-05 22:17:07 | [Mutex] isItemNotified: user_regularde99t60202@test-domain.com:message:received:content_4ijcoj0205 :: false

2021-12-05 22:17:07 |


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


2021-12-05 22:17:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 22:17:07 | command: <data><node>node_knaiv60203</node><entry><content>content_ek2qvh0206</content></entry></data>

2021-12-05 22:17:07 | target: http://localhost:8088

2021-12-05 22:17:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-12-05 22:17:07 | entity: <data><node>node_knaiv60203</node><entry><content>content_ek2qvh0206</content></entry></data>

2021-12-05 22:17:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 06:17:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 22:17:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>25747a26-8796-4727-a961-78fd2747db75</value></item-id></result>

2021-12-05 22:17:07 | contains: true

2021-12-05 22:17:12 | [Mutex] waiting for: [user_regularde99t60202@test-domain.com:message:received:content_ek2qvh0206]

2021-12-05 22:17:12 | [Mutex] received everything.

2021-12-05 22:17:12 | [Mutex] isItemNotified: user_regularde99t60202@test-domain.com:message:received:content_ek2qvh0206 :: true

2021-12-05 22:17:12 |


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


2021-12-05 22:17:12 | [Mutex] received everything.

2021-12-05 22:17:12 | [Mutex] isItemNotified: node_knaiv60203:subscribe_node:success :: true

2021-12-05 22:17:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-12-05 22:17:12 | command: <data><node>node_knaiv60203</node><expire-at>2021-12-06T06:17:17Z</expire-at><entry><content>content_4nrlqi0207</content></entry></data>

2021-12-05 22:17:12 | target: http://localhost:8088

2021-12-05 22:17:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-12-05 22:17:12 | entity: <data><node>node_knaiv60203</node><expire-at>2021-12-06T06:17:17Z</expire-at><entry><content>content_4nrlqi0207</content></entry></data>

2021-12-05 22:17:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Dec 2021 06:17:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-12-05 22:17:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>abf55a9b-0435-482a-b18b-5b974a01fc35</value></item-id></result>

2021-12-05 22:17:12 | contains: true

2021-12-05 22:17:21 | [Mutex] waiting for: [user_regularde99t60202@test-domain.com:message:received:content_4nrlqi0207]

2021-12-05 22:17:21 | [Mutex] waiting for: [user_regularde99t60202@test-domain.com:message:received:content_4nrlqi0207]

2021-12-05 22:17:36 | [Mutex] timeout. Not received [user_regularde99t60202@test-domain.com:message:received:content_4nrlqi0207]

2021-12-05 22:17:36 | [Mutex] received everything.

2021-12-05 22:17:36 | [Mutex] isItemNotified: user_regularde99t60202@test-domain.com:message:received:content_4nrlqi0207 :: false

2021-12-05 22:17:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4nrlqi0207 :: true