Generated by TestNG with ReportNG at 13:47 PDT on Monday 28 September 2020
root@9e0b9c5f736a / 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.284s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.704s
2020-09-28 14:05:26 |

2020-09-28 14:05:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-28 14:05:26 | ------------------------------------

2020-09-28 14:05:26 | [Mutex] isItemNotified: node_sv31r10203:exists :: false

2020-09-28 14:05:26 | [Mutex] waiting for: [node_sv31r10203:create_node]

2020-09-28 14:05:26 | [Mutex] received everything.

2020-09-28 14:05:26 | [Mutex] isItemNotified: node_sv31r10203:create_node:success :: true

2020-09-28 14:05:26 | [Mutex] waiting for: [node_sv31r10203:subscribe_node]

2020-09-28 14:05:26 | [Mutex] waiting for: [node_sv31r10203:subscribe_node]

2020-09-28 14:05:26 | [Mutex] received everything.

2020-09-28 14:05:26 | [Mutex] isItemNotified: node_sv31r10203:subscribe_node:success :: true

2020-09-28 14:05:26 |


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


2020-09-28 14:05:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-28 14:05:26 | command: <data><node>node_sv31r10203</node><entry><content>content_5mfkbr0204</content></entry></data>

2020-09-28 14:05:26 | target: http://localhost:8088

2020-09-28 14:05:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-28 14:05:26 | entity: <data><node>node_sv31r10203</node><entry><content>content_5mfkbr0204</content></entry></data>

2020-09-28 14:05:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 21:05:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-28 14:05:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>56616d06-2591-4ca5-8140-25ca247a804a</value></item-id></result>

2020-09-28 14:05:26 | contains: true

2020-09-28 14:05:26 | [Mutex] received everything.

2020-09-28 14:05:26 | [Mutex] isItemNotified: user_regularyqau320202@test-domain.com:message:received:content_5mfkbr0204 :: true

2020-09-28 14:05:26 |


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


2020-09-28 14:05:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-28 14:05:26 | command: <data><node>node_sv31r10203</node><expire-at>2020-09-28T21:05:21Z</expire-at><entry><content>content_h9jjs30205</content></entry></data>

2020-09-28 14:05:26 | target: http://localhost:8088

2020-09-28 14:05:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-28 14:05:26 | entity: <data><node>node_sv31r10203</node><expire-at>2020-09-28T21:05:21Z</expire-at><entry><content>content_h9jjs30205</content></entry></data>

2020-09-28 14:05:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 21:05:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-28 14:05:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>44aaf1d5-09f3-4f29-ac34-ad6725c80012</value></item-id></result>

2020-09-28 14:05:26 | contains: true

2020-09-28 14:05:26 | [Mutex] waiting for: [user_regularyqau320202@test-domain.com:message:received:content_h9jjs30205]

2020-09-28 14:05:41 | [Mutex] timeout. Not received [user_regularyqau320202@test-domain.com:message:received:content_h9jjs30205]

2020-09-28 14:05:41 | [Mutex] isItemNotified: user_regularyqau320202@test-domain.com:message:received:content_h9jjs30205 :: false

2020-09-28 14:05:41 |


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


2020-09-28 14:05:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-28 14:05:41 | command: <data><node>node_sv31r10203</node><entry><content>content_skmj1t0206</content></entry></data>

2020-09-28 14:05:41 | target: http://localhost:8088

2020-09-28 14:05:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-28 14:05:41 | entity: <data><node>node_sv31r10203</node><entry><content>content_skmj1t0206</content></entry></data>

2020-09-28 14:05:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 21:05:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-28 14:05:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3765245d-9b35-4b03-8f80-a9f73b0006a8</value></item-id></result>

2020-09-28 14:05:41 | contains: true

2020-09-28 14:05:46 | [Mutex] waiting for: [user_regularyqau320202@test-domain.com:message:received:content_skmj1t0206]

2020-09-28 14:05:46 | [Mutex] received everything.

2020-09-28 14:05:46 | [Mutex] isItemNotified: user_regularyqau320202@test-domain.com:message:received:content_skmj1t0206 :: true

2020-09-28 14:05:46 |


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


2020-09-28 14:05:46 | [Mutex] received everything.

2020-09-28 14:05:46 | [Mutex] isItemNotified: node_sv31r10203:subscribe_node:success :: true

2020-09-28 14:05:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-28 14:05:46 | command: <data><node>node_sv31r10203</node><expire-at>2020-09-28T21:05:51Z</expire-at><entry><content>content_kkxwd30207</content></entry></data>

2020-09-28 14:05:46 | target: http://localhost:8088

2020-09-28 14:05:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-28 14:05:46 | entity: <data><node>node_sv31r10203</node><expire-at>2020-09-28T21:05:51Z</expire-at><entry><content>content_kkxwd30207</content></entry></data>

2020-09-28 14:05:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 21:05:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-28 14:05:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f7f0195d-fb88-475f-9f5f-3f4e40a8f1d9</value></item-id></result>

2020-09-28 14:05:46 | contains: true

2020-09-28 14:05:54 | [Mutex] waiting for: [user_regularyqau320202@test-domain.com:message:received:content_kkxwd30207]

2020-09-28 14:05:54 | [Mutex] waiting for: [user_regularyqau320202@test-domain.com:message:received:content_kkxwd30207]

2020-09-28 14:06:09 | [Mutex] timeout. Not received [user_regularyqau320202@test-domain.com:message:received:content_kkxwd30207]

2020-09-28 14:06:09 | [Mutex] received everything.

2020-09-28 14:06:09 | [Mutex] isItemNotified: user_regularyqau320202@test-domain.com:message:received:content_kkxwd30207 :: false

2020-09-28 14:06:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kkxwd30207 :: true