Generated by TestNG with ReportNG at 21:14 PST on Friday 05 February 2021
root@eaa73862192b / 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 : 46.145s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.870s
2021-02-05 21:29:06 |

2021-02-05 21:29:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-02-05 21:29:06 | ------------------------------------

2021-02-05 21:29:06 | [Mutex] isItemNotified: node_nr599z0203:exists :: false

2021-02-05 21:29:06 | [Mutex] waiting for: [node_nr599z0203:create_node]

2021-02-05 21:29:06 | [Mutex] received everything.

2021-02-05 21:29:06 | [Mutex] isItemNotified: node_nr599z0203:create_node:success :: true

2021-02-05 21:29:06 | [Mutex] waiting for: [node_nr599z0203:subscribe_node]

2021-02-05 21:29:06 | [Mutex] waiting for: [node_nr599z0203:subscribe_node]

2021-02-05 21:29:06 | [Mutex] received everything.

2021-02-05 21:29:06 | [Mutex] isItemNotified: node_nr599z0203:subscribe_node:success :: true

2021-02-05 21:29:06 |


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


2021-02-05 21:29:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-05 21:29:06 | command: <data><node>node_nr599z0203</node><entry><content>content_dkly540204</content></entry></data>

2021-02-05 21:29:06 | target: http://localhost:8088

2021-02-05 21:29:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-05 21:29:06 | entity: <data><node>node_nr599z0203</node><entry><content>content_dkly540204</content></entry></data>

2021-02-05 21:29:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:29:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-05 21:29:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b94b0759-7052-4147-bf26-f7909e6d7f5a</value></item-id></result>

2021-02-05 21:29:06 | contains: true

2021-02-05 21:29:06 | [Mutex] waiting for: [user_regularn7vfbt0202@test-domain.com:message:received:content_dkly540204]

2021-02-05 21:29:06 | [Mutex] received everything.

2021-02-05 21:29:06 | [Mutex] isItemNotified: user_regularn7vfbt0202@test-domain.com:message:received:content_dkly540204 :: true

2021-02-05 21:29:06 |


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


2021-02-05 21:29:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-05 21:29:06 | command: <data><node>node_nr599z0203</node><expire-at>2021-02-06T05:29:01Z</expire-at><entry><content>content_x3frlv0205</content></entry></data>

2021-02-05 21:29:06 | target: http://localhost:8088

2021-02-05 21:29:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-05 21:29:06 | entity: <data><node>node_nr599z0203</node><expire-at>2021-02-06T05:29:01Z</expire-at><entry><content>content_x3frlv0205</content></entry></data>

2021-02-05 21:29:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:29:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-05 21:29:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ee19334a-0be5-4b73-9dd4-015b20d1ff43</value></item-id></result>

2021-02-05 21:29:06 | contains: true

2021-02-05 21:29:06 | [Mutex] waiting for: [user_regularn7vfbt0202@test-domain.com:message:received:content_x3frlv0205]

2021-02-05 21:29:21 | [Mutex] timeout. Not received [user_regularn7vfbt0202@test-domain.com:message:received:content_x3frlv0205]

2021-02-05 21:29:21 | [Mutex] isItemNotified: user_regularn7vfbt0202@test-domain.com:message:received:content_x3frlv0205 :: false

2021-02-05 21:29:21 |


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


2021-02-05 21:29:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-05 21:29:22 | command: <data><node>node_nr599z0203</node><entry><content>content_d1x0260206</content></entry></data>

2021-02-05 21:29:22 | target: http://localhost:8088

2021-02-05 21:29:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-05 21:29:22 | entity: <data><node>node_nr599z0203</node><entry><content>content_d1x0260206</content></entry></data>

2021-02-05 21:29:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:29:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-05 21:29:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8967d7b5-f49a-4317-8027-203ec1cdc909</value></item-id></result>

2021-02-05 21:29:22 | contains: true

2021-02-05 21:29:27 | [Mutex] waiting for: [user_regularn7vfbt0202@test-domain.com:message:received:content_d1x0260206]

2021-02-05 21:29:27 | [Mutex] received everything.

2021-02-05 21:29:27 | [Mutex] isItemNotified: user_regularn7vfbt0202@test-domain.com:message:received:content_d1x0260206 :: true

2021-02-05 21:29:27 |


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


2021-02-05 21:29:27 | [Mutex] received everything.

2021-02-05 21:29:27 | [Mutex] isItemNotified: node_nr599z0203:subscribe_node:success :: true

2021-02-05 21:29:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-05 21:29:27 | command: <data><node>node_nr599z0203</node><expire-at>2021-02-06T05:29:32Z</expire-at><entry><content>content_juk6y70207</content></entry></data>

2021-02-05 21:29:27 | target: http://localhost:8088

2021-02-05 21:29:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-05 21:29:27 | entity: <data><node>node_nr599z0203</node><expire-at>2021-02-06T05:29:32Z</expire-at><entry><content>content_juk6y70207</content></entry></data>

2021-02-05 21:29:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:29:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-05 21:29:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>276c76ad-e2e5-4387-b1df-3b0c77513d38</value></item-id></result>

2021-02-05 21:29:27 | contains: true

2021-02-05 21:29:35 | [Mutex] waiting for: [user_regularn7vfbt0202@test-domain.com:message:received:content_juk6y70207]

2021-02-05 21:29:35 | [Mutex] waiting for: [user_regularn7vfbt0202@test-domain.com:message:received:content_juk6y70207]

2021-02-05 21:29:50 | [Mutex] timeout. Not received [user_regularn7vfbt0202@test-domain.com:message:received:content_juk6y70207]

2021-02-05 21:29:50 | [Mutex] received everything.

2021-02-05 21:29:50 | [Mutex] isItemNotified: user_regularn7vfbt0202@test-domain.com:message:received:content_juk6y70207 :: false

2021-02-05 21:29:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_juk6y70207 :: true