Generated by TestNG with ReportNG at 21:15 PST on Monday 04 January 2021
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.944s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.897s
2021-01-04 21:31:37 |

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

2021-01-04 21:31:37 | ------------------------------------

2021-01-04 21:31:37 | [Mutex] isItemNotified: node_xty5x0203:exists :: false

2021-01-04 21:31:37 | [Mutex] waiting for: [node_xty5x0203:create_node]

2021-01-04 21:31:37 | [Mutex] received everything.

2021-01-04 21:31:37 | [Mutex] isItemNotified: node_xty5x0203:create_node:success :: true

2021-01-04 21:31:37 | [Mutex] waiting for: [node_xty5x0203:subscribe_node]

2021-01-04 21:31:38 | [Mutex] waiting for: [node_xty5x0203:subscribe_node]

2021-01-04 21:31:38 | [Mutex] received everything.

2021-01-04 21:31:38 | [Mutex] isItemNotified: node_xty5x0203:subscribe_node:success :: true

2021-01-04 21:31:38 |


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


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

2021-01-04 21:31:38 | command: <data><node>node_xty5x0203</node><entry><content>content_4lb6fe0204</content></entry></data>

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

2021-01-04 21:31:38 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-01-04 21:31:38 | entity: <data><node>node_xty5x0203</node><entry><content>content_4lb6fe0204</content></entry></data>

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

2021-01-04 21:31:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4f1de134-dc96-4474-8683-c537e6630952</value></item-id></result>

2021-01-04 21:31:38 | contains: true

2021-01-04 21:31:38 | [Mutex] waiting for: [user_regularr73oq60202@test-domain.com:message:received:content_4lb6fe0204]

2021-01-04 21:31:38 | [Mutex] received everything.

2021-01-04 21:31:38 | [Mutex] isItemNotified: user_regularr73oq60202@test-domain.com:message:received:content_4lb6fe0204 :: true

2021-01-04 21:31:38 |


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


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

2021-01-04 21:31:38 | command: <data><node>node_xty5x0203</node><expire-at>2021-01-05T05:31:33Z</expire-at><entry><content>content_2utgpw0205</content></entry></data>

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

2021-01-04 21:31:38 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-01-04 21:31:38 | entity: <data><node>node_xty5x0203</node><expire-at>2021-01-05T05:31:33Z</expire-at><entry><content>content_2utgpw0205</content></entry></data>

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

2021-01-04 21:31:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e771bfdd-78d2-4bb1-83a0-8f3f3477960f</value></item-id></result>

2021-01-04 21:31:38 | contains: true

2021-01-04 21:31:38 | [Mutex] waiting for: [user_regularr73oq60202@test-domain.com:message:received:content_2utgpw0205]

2021-01-04 21:31:53 | [Mutex] timeout. Not received [user_regularr73oq60202@test-domain.com:message:received:content_2utgpw0205]

2021-01-04 21:31:53 | [Mutex] isItemNotified: user_regularr73oq60202@test-domain.com:message:received:content_2utgpw0205 :: false

2021-01-04 21:31:53 |


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


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

2021-01-04 21:31:53 | command: <data><node>node_xty5x0203</node><entry><content>content_lvj9cc0206</content></entry></data>

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

2021-01-04 21:31:53 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-01-04 21:31:53 | entity: <data><node>node_xty5x0203</node><entry><content>content_lvj9cc0206</content></entry></data>

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

2021-01-04 21:31:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5b30ab8c-001c-4c7b-a690-2ec14a80779c</value></item-id></result>

2021-01-04 21:31:53 | contains: true

2021-01-04 21:31:58 | [Mutex] waiting for: [user_regularr73oq60202@test-domain.com:message:received:content_lvj9cc0206]

2021-01-04 21:31:58 | [Mutex] waiting for: [user_regularr73oq60202@test-domain.com:message:received:content_lvj9cc0206]

2021-01-04 21:31:58 | [Mutex] received everything.

2021-01-04 21:31:58 | [Mutex] isItemNotified: user_regularr73oq60202@test-domain.com:message:received:content_lvj9cc0206 :: true

2021-01-04 21:31:58 |


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


2021-01-04 21:31:58 | [Mutex] received everything.

2021-01-04 21:31:58 | [Mutex] isItemNotified: node_xty5x0203:subscribe_node:success :: true

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

2021-01-04 21:31:58 | command: <data><node>node_xty5x0203</node><expire-at>2021-01-05T05:32:03Z</expire-at><entry><content>content_za2ga50207</content></entry></data>

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

2021-01-04 21:31:58 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-01-04 21:31:58 | entity: <data><node>node_xty5x0203</node><expire-at>2021-01-05T05:32:03Z</expire-at><entry><content>content_za2ga50207</content></entry></data>

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

2021-01-04 21:31:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>df9abf66-a9a5-44ff-9d17-443218cfaecc</value></item-id></result>

2021-01-04 21:31:58 | contains: true

2021-01-04 21:32:06 | [Mutex] waiting for: [user_regularr73oq60202@test-domain.com:message:received:content_za2ga50207]

2021-01-04 21:32:06 | [Mutex] waiting for: [user_regularr73oq60202@test-domain.com:message:received:content_za2ga50207]

2021-01-04 21:32:21 | [Mutex] timeout. Not received [user_regularr73oq60202@test-domain.com:message:received:content_za2ga50207]

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

2021-01-04 21:32:21 | [Mutex] isItemNotified: user_regularr73oq60202@test-domain.com:message:received:content_za2ga50207 :: false

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