Generated by TestNG with ReportNG at 05:26 PST on Wednesday 27 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.795s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.802s
2021-01-27 05:41:13 |

2021-01-27 05:41:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-27 05:41:13 | ------------------------------------

2021-01-27 05:41:13 | [Mutex] isItemNotified: node_9h2n230203:exists :: false

2021-01-27 05:41:13 | [Mutex] waiting for: [node_9h2n230203:create_node]

2021-01-27 05:41:13 | [Mutex] received everything.

2021-01-27 05:41:13 | [Mutex] isItemNotified: node_9h2n230203:create_node:success :: true

2021-01-27 05:41:13 | [Mutex] waiting for: [node_9h2n230203:subscribe_node]

2021-01-27 05:41:13 | [Mutex] waiting for: [node_9h2n230203:subscribe_node]

2021-01-27 05:41:13 | [Mutex] received everything.

2021-01-27 05:41:13 | [Mutex] isItemNotified: node_9h2n230203:subscribe_node:success :: true

2021-01-27 05:41:13 |


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


2021-01-27 05:41:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-27 05:41:13 | command: <data><node>node_9h2n230203</node><entry><content>content_ge9laj0204</content></entry></data>

2021-01-27 05:41:13 | target: http://localhost:8088

2021-01-27 05:41:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-27 05:41:13 | entity: <data><node>node_9h2n230203</node><entry><content>content_ge9laj0204</content></entry></data>

2021-01-27 05:41:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 13:41:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-27 05:41:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f6a7d168-cc40-47bf-8052-5e322a84970b</value></item-id></result>

2021-01-27 05:41:13 | contains: true

2021-01-27 05:41:13 | [Mutex] waiting for: [user_regularlh8zeg0202@test-domain.com:message:received:content_ge9laj0204]

2021-01-27 05:41:13 | [Mutex] received everything.

2021-01-27 05:41:13 | [Mutex] isItemNotified: user_regularlh8zeg0202@test-domain.com:message:received:content_ge9laj0204 :: true

2021-01-27 05:41:13 |


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


2021-01-27 05:41:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-27 05:41:13 | command: <data><node>node_9h2n230203</node><expire-at>2021-01-27T13:41:08Z</expire-at><entry><content>content_vuhtn20205</content></entry></data>

2021-01-27 05:41:13 | target: http://localhost:8088

2021-01-27 05:41:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-27 05:41:13 | entity: <data><node>node_9h2n230203</node><expire-at>2021-01-27T13:41:08Z</expire-at><entry><content>content_vuhtn20205</content></entry></data>

2021-01-27 05:41:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 13:41:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-27 05:41:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7eb9760c-0f5b-4ed3-a393-719a6f6bf441</value></item-id></result>

2021-01-27 05:41:13 | contains: true

2021-01-27 05:41:13 | [Mutex] waiting for: [user_regularlh8zeg0202@test-domain.com:message:received:content_vuhtn20205]

2021-01-27 05:41:28 | [Mutex] timeout. Not received [user_regularlh8zeg0202@test-domain.com:message:received:content_vuhtn20205]

2021-01-27 05:41:28 | [Mutex] isItemNotified: user_regularlh8zeg0202@test-domain.com:message:received:content_vuhtn20205 :: false

2021-01-27 05:41:28 |


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


2021-01-27 05:41:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-27 05:41:28 | command: <data><node>node_9h2n230203</node><entry><content>content_db2mox0206</content></entry></data>

2021-01-27 05:41:28 | target: http://localhost:8088

2021-01-27 05:41:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-27 05:41:28 | entity: <data><node>node_9h2n230203</node><entry><content>content_db2mox0206</content></entry></data>

2021-01-27 05:41:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 13:41:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-27 05:41:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ed64795a-3248-451f-b9d9-6d6243075ac0</value></item-id></result>

2021-01-27 05:41:28 | contains: true

2021-01-27 05:41:33 | [Mutex] waiting for: [user_regularlh8zeg0202@test-domain.com:message:received:content_db2mox0206]

2021-01-27 05:41:33 | [Mutex] received everything.

2021-01-27 05:41:33 | [Mutex] isItemNotified: user_regularlh8zeg0202@test-domain.com:message:received:content_db2mox0206 :: true

2021-01-27 05:41:33 |


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


2021-01-27 05:41:33 | [Mutex] received everything.

2021-01-27 05:41:33 | [Mutex] isItemNotified: node_9h2n230203:subscribe_node:success :: true

2021-01-27 05:41:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-27 05:41:33 | command: <data><node>node_9h2n230203</node><expire-at>2021-01-27T13:41:38Z</expire-at><entry><content>content_kjyxgp0207</content></entry></data>

2021-01-27 05:41:33 | target: http://localhost:8088

2021-01-27 05:41:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-27 05:41:33 | entity: <data><node>node_9h2n230203</node><expire-at>2021-01-27T13:41:38Z</expire-at><entry><content>content_kjyxgp0207</content></entry></data>

2021-01-27 05:41:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 13:41:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-27 05:41:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f44d569e-9907-4afa-8fcc-fdcb439328cd</value></item-id></result>

2021-01-27 05:41:33 | contains: true

2021-01-27 05:41:41 | [Mutex] waiting for: [user_regularlh8zeg0202@test-domain.com:message:received:content_kjyxgp0207]

2021-01-27 05:41:41 | [Mutex] waiting for: [user_regularlh8zeg0202@test-domain.com:message:received:content_kjyxgp0207]

2021-01-27 05:41:41 | [Mutex] waiting for: [user_regularlh8zeg0202@test-domain.com:message:received:content_kjyxgp0207]

2021-01-27 05:41:56 | [Mutex] timeout. Not received [user_regularlh8zeg0202@test-domain.com:message:received:content_kjyxgp0207]

2021-01-27 05:41:56 | [Mutex] received everything.

2021-01-27 05:41:56 | [Mutex] isItemNotified: user_regularlh8zeg0202@test-domain.com:message:received:content_kjyxgp0207 :: false

2021-01-27 05:41:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kjyxgp0207 :: true