Generated by TestNG with ReportNG at 21:43 PST on Thursday 26 November 2020
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 : 45.231s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.754s
2020-11-26 22:06:27 |

2020-11-26 22:06:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-26 22:06:27 | ------------------------------------

2020-11-26 22:06:27 | [Mutex] isItemNotified: node_d6pxq60203:exists :: false

2020-11-26 22:06:27 | [Mutex] waiting for: [node_d6pxq60203:create_node]

2020-11-26 22:06:27 | [Mutex] received everything.

2020-11-26 22:06:27 | [Mutex] isItemNotified: node_d6pxq60203:create_node:success :: true

2020-11-26 22:06:27 | [Mutex] waiting for: [node_d6pxq60203:subscribe_node]

2020-11-26 22:06:27 | [Mutex] waiting for: [node_d6pxq60203:subscribe_node]

2020-11-26 22:06:27 | [Mutex] received everything.

2020-11-26 22:06:27 | [Mutex] isItemNotified: node_d6pxq60203:subscribe_node:success :: true

2020-11-26 22:06:27 |


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


2020-11-26 22:06:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-26 22:06:27 | command: <data><node>node_d6pxq60203</node><entry><content>content_nzx1lc0204</content></entry></data>

2020-11-26 22:06:27 | target: http://localhost:8088

2020-11-26 22:06:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-26 22:06:27 | entity: <data><node>node_d6pxq60203</node><entry><content>content_nzx1lc0204</content></entry></data>

2020-11-26 22:06:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 06:06:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-26 22:06:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1ac4fb03-4853-4581-882e-11444c8f3618</value></item-id></result>

2020-11-26 22:06:27 | contains: true

2020-11-26 22:06:27 | [Mutex] received everything.

2020-11-26 22:06:27 | [Mutex] isItemNotified: user_regularx2x8oq0202@test-domain.com:message:received:content_nzx1lc0204 :: true

2020-11-26 22:06:27 |


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


2020-11-26 22:06:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-26 22:06:27 | command: <data><node>node_d6pxq60203</node><expire-at>2020-11-27T06:06:22Z</expire-at><entry><content>content_q2fu0o0205</content></entry></data>

2020-11-26 22:06:27 | target: http://localhost:8088

2020-11-26 22:06:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-26 22:06:27 | entity: <data><node>node_d6pxq60203</node><expire-at>2020-11-27T06:06:22Z</expire-at><entry><content>content_q2fu0o0205</content></entry></data>

2020-11-26 22:06:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 06:06:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-26 22:06:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>29ad039d-f781-4501-af4a-68ba5353eebf</value></item-id></result>

2020-11-26 22:06:27 | contains: true

2020-11-26 22:06:27 | [Mutex] waiting for: [user_regularx2x8oq0202@test-domain.com:message:received:content_q2fu0o0205]

2020-11-26 22:06:42 | [Mutex] timeout. Not received [user_regularx2x8oq0202@test-domain.com:message:received:content_q2fu0o0205]

2020-11-26 22:06:42 | [Mutex] isItemNotified: user_regularx2x8oq0202@test-domain.com:message:received:content_q2fu0o0205 :: false

2020-11-26 22:06:42 |


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


2020-11-26 22:06:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-26 22:06:42 | command: <data><node>node_d6pxq60203</node><entry><content>content_7qasef0206</content></entry></data>

2020-11-26 22:06:42 | target: http://localhost:8088

2020-11-26 22:06:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-26 22:06:42 | entity: <data><node>node_d6pxq60203</node><entry><content>content_7qasef0206</content></entry></data>

2020-11-26 22:06:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 06:06:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-26 22:06:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>62dcc6f3-b980-427c-80c1-595e93f90bc3</value></item-id></result>

2020-11-26 22:06:42 | contains: true

2020-11-26 22:06:47 | [Mutex] waiting for: [user_regularx2x8oq0202@test-domain.com:message:received:content_7qasef0206]

2020-11-26 22:06:47 | [Mutex] waiting for: [user_regularx2x8oq0202@test-domain.com:message:received:content_7qasef0206]

2020-11-26 22:06:47 | [Mutex] received everything.

2020-11-26 22:06:47 | [Mutex] isItemNotified: user_regularx2x8oq0202@test-domain.com:message:received:content_7qasef0206 :: true

2020-11-26 22:06:47 |


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


2020-11-26 22:06:47 | [Mutex] received everything.

2020-11-26 22:06:47 | [Mutex] isItemNotified: node_d6pxq60203:subscribe_node:success :: true

2020-11-26 22:06:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-26 22:06:47 | command: <data><node>node_d6pxq60203</node><expire-at>2020-11-27T06:06:52Z</expire-at><entry><content>content_gbxs4k0207</content></entry></data>

2020-11-26 22:06:47 | target: http://localhost:8088

2020-11-26 22:06:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-26 22:06:47 | entity: <data><node>node_d6pxq60203</node><expire-at>2020-11-27T06:06:52Z</expire-at><entry><content>content_gbxs4k0207</content></entry></data>

2020-11-26 22:06:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 06:06:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-26 22:06:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>be6db751-326c-4d2e-9466-726e09e1b9dc</value></item-id></result>

2020-11-26 22:06:47 | contains: true

2020-11-26 22:06:55 | [Mutex] waiting for: [user_regularx2x8oq0202@test-domain.com:message:received:content_gbxs4k0207]

2020-11-26 22:07:10 | [Mutex] timeout. Not received [user_regularx2x8oq0202@test-domain.com:message:received:content_gbxs4k0207]

2020-11-26 22:07:10 | [Mutex] received everything.

2020-11-26 22:07:10 | [Mutex] isItemNotified: user_regularx2x8oq0202@test-domain.com:message:received:content_gbxs4k0207 :: false

2020-11-26 22:07:10 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gbxs4k0207 :: true