Generated by TestNG with ReportNG at 22:14 PDT on Sunday 25 April 2021
root@b2c2a8eba6e6 / 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.502s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.732s
2021-04-25 22:30:22 |

2021-04-25 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-25 22:30:22 | ------------------------------------

2021-04-25 22:30:22 | [Mutex] isItemNotified: node_p81zy70203:exists :: false

2021-04-25 22:30:22 | [Mutex] waiting for: [node_p81zy70203:create_node]

2021-04-25 22:30:22 | [Mutex] received everything.

2021-04-25 22:30:22 | [Mutex] isItemNotified: node_p81zy70203:create_node:success :: true

2021-04-25 22:30:22 | [Mutex] waiting for: [node_p81zy70203:subscribe_node]

2021-04-25 22:30:22 | [Mutex] waiting for: [node_p81zy70203:subscribe_node]

2021-04-25 22:30:22 | [Mutex] received everything.

2021-04-25 22:30:22 | [Mutex] isItemNotified: node_p81zy70203:subscribe_node:success :: true

2021-04-25 22:30:22 |


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


2021-04-25 22:30:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-25 22:30:22 | command: <data><node>node_p81zy70203</node><entry><content>content_mhc9r60204</content></entry></data>

2021-04-25 22:30:22 | target: http://localhost:8088

2021-04-25 22:30:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-25 22:30:22 | entity: <data><node>node_p81zy70203</node><entry><content>content_mhc9r60204</content></entry></data>

2021-04-25 22:30:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:30:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-25 22:30:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>27e5710b-ecaf-43ac-a154-ea7c4fda3cb8</value></item-id></result>

2021-04-25 22:30:22 | contains: true

2021-04-25 22:30:22 | [Mutex] received everything.

2021-04-25 22:30:22 | [Mutex] isItemNotified: user_regulartxytko0202@test-domain.com:message:received:content_mhc9r60204 :: true

2021-04-25 22:30:22 |


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


2021-04-25 22:30:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-25 22:30:22 | command: <data><node>node_p81zy70203</node><expire-at>2021-04-26T05:30:17Z</expire-at><entry><content>content_wdav9r0205</content></entry></data>

2021-04-25 22:30:22 | target: http://localhost:8088

2021-04-25 22:30:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-25 22:30:22 | entity: <data><node>node_p81zy70203</node><expire-at>2021-04-26T05:30:17Z</expire-at><entry><content>content_wdav9r0205</content></entry></data>

2021-04-25 22:30:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:30:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-25 22:30:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4209577f-0c91-4f25-a3e8-216c8e9ecffe</value></item-id></result>

2021-04-25 22:30:22 | contains: true

2021-04-25 22:30:22 | [Mutex] waiting for: [user_regulartxytko0202@test-domain.com:message:received:content_wdav9r0205]

2021-04-25 22:30:37 | [Mutex] timeout. Not received [user_regulartxytko0202@test-domain.com:message:received:content_wdav9r0205]

2021-04-25 22:30:37 | [Mutex] isItemNotified: user_regulartxytko0202@test-domain.com:message:received:content_wdav9r0205 :: false

2021-04-25 22:30:37 |


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


2021-04-25 22:30:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-25 22:30:37 | command: <data><node>node_p81zy70203</node><entry><content>content_wa5kkx0206</content></entry></data>

2021-04-25 22:30:37 | target: http://localhost:8088

2021-04-25 22:30:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-25 22:30:37 | entity: <data><node>node_p81zy70203</node><entry><content>content_wa5kkx0206</content></entry></data>

2021-04-25 22:30:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:30:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-25 22:30:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d6d3ad8f-e4d1-4831-892f-450212f1043e</value></item-id></result>

2021-04-25 22:30:37 | contains: true

2021-04-25 22:30:43 | [Mutex] waiting for: [user_regulartxytko0202@test-domain.com:message:received:content_wa5kkx0206]

2021-04-25 22:30:43 | [Mutex] waiting for: [user_regulartxytko0202@test-domain.com:message:received:content_wa5kkx0206]

2021-04-25 22:30:43 | [Mutex] received everything.

2021-04-25 22:30:43 | [Mutex] isItemNotified: user_regulartxytko0202@test-domain.com:message:received:content_wa5kkx0206 :: true

2021-04-25 22:30:43 |


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


2021-04-25 22:30:43 | [Mutex] received everything.

2021-04-25 22:30:43 | [Mutex] isItemNotified: node_p81zy70203:subscribe_node:success :: true

2021-04-25 22:30:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-25 22:30:43 | command: <data><node>node_p81zy70203</node><expire-at>2021-04-26T05:30:48Z</expire-at><entry><content>content_vmqqjb0207</content></entry></data>

2021-04-25 22:30:43 | target: http://localhost:8088

2021-04-25 22:30:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-25 22:30:43 | entity: <data><node>node_p81zy70203</node><expire-at>2021-04-26T05:30:48Z</expire-at><entry><content>content_vmqqjb0207</content></entry></data>

2021-04-25 22:30:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:30:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-25 22:30:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b892bb0b-cc32-435c-9f0c-98869380092c</value></item-id></result>

2021-04-25 22:30:43 | contains: true

2021-04-25 22:30:51 | [Mutex] waiting for: [user_regulartxytko0202@test-domain.com:message:received:content_vmqqjb0207]

2021-04-25 22:30:51 | [Mutex] waiting for: [user_regulartxytko0202@test-domain.com:message:received:content_vmqqjb0207]

2021-04-25 22:31:06 | [Mutex] timeout. Not received [user_regulartxytko0202@test-domain.com:message:received:content_vmqqjb0207]

2021-04-25 22:31:06 | [Mutex] received everything.

2021-04-25 22:31:06 | [Mutex] isItemNotified: user_regulartxytko0202@test-domain.com:message:received:content_vmqqjb0207 :: false

2021-04-25 22:31:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vmqqjb0207 :: true