Generated by TestNG with ReportNG at 00:04 PDT on Tuesday 21 September 2021
root@f29ef40080b5 / 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.247s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.640s
2021-09-21 00:19:12 |

2021-09-21 00:19:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-21 00:19:12 | ------------------------------------

2021-09-21 00:19:12 | [Mutex] isItemNotified: node_lj6c3u0203:exists :: false

2021-09-21 00:19:12 | [Mutex] waiting for: [node_lj6c3u0203:create_node]

2021-09-21 00:19:12 | [Mutex] received everything.

2021-09-21 00:19:12 | [Mutex] isItemNotified: node_lj6c3u0203:create_node:success :: true

2021-09-21 00:19:12 | [Mutex] waiting for: [node_lj6c3u0203:subscribe_node]

2021-09-21 00:19:12 | [Mutex] waiting for: [node_lj6c3u0203:subscribe_node]

2021-09-21 00:19:12 | [Mutex] received everything.

2021-09-21 00:19:12 | [Mutex] isItemNotified: node_lj6c3u0203:subscribe_node:success :: true

2021-09-21 00:19:12 |


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


2021-09-21 00:19:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 00:19:12 | command: <data><node>node_lj6c3u0203</node><entry><content>content_7eabjh0204</content></entry></data>

2021-09-21 00:19:12 | target: http://localhost:8088

2021-09-21 00:19:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-21 00:19:12 | entity: <data><node>node_lj6c3u0203</node><entry><content>content_7eabjh0204</content></entry></data>

2021-09-21 00:19:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 07:19:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 00:19:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f5bf7572-13af-4daa-9c37-aa79ee47127b</value></item-id></result>

2021-09-21 00:19:12 | contains: true

2021-09-21 00:19:12 | [Mutex] received everything.

2021-09-21 00:19:12 | [Mutex] isItemNotified: user_regulari44iov0202@test-domain.com:message:received:content_7eabjh0204 :: true

2021-09-21 00:19:12 |


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


2021-09-21 00:19:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 00:19:12 | command: <data><node>node_lj6c3u0203</node><expire-at>2021-09-21T07:19:07Z</expire-at><entry><content>content_f2nfv40205</content></entry></data>

2021-09-21 00:19:12 | target: http://localhost:8088

2021-09-21 00:19:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-21 00:19:12 | entity: <data><node>node_lj6c3u0203</node><expire-at>2021-09-21T07:19:07Z</expire-at><entry><content>content_f2nfv40205</content></entry></data>

2021-09-21 00:19:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 07:19:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 00:19:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>903b4f3b-1780-43dd-946a-66145eb8cc0b</value></item-id></result>

2021-09-21 00:19:12 | contains: true

2021-09-21 00:19:12 | [Mutex] waiting for: [user_regulari44iov0202@test-domain.com:message:received:content_f2nfv40205]

2021-09-21 00:19:27 | [Mutex] timeout. Not received [user_regulari44iov0202@test-domain.com:message:received:content_f2nfv40205]

2021-09-21 00:19:27 | [Mutex] isItemNotified: user_regulari44iov0202@test-domain.com:message:received:content_f2nfv40205 :: false

2021-09-21 00:19:27 |


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


2021-09-21 00:19:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 00:19:27 | command: <data><node>node_lj6c3u0203</node><entry><content>content_4qt0eh0206</content></entry></data>

2021-09-21 00:19:27 | target: http://localhost:8088

2021-09-21 00:19:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-21 00:19:27 | entity: <data><node>node_lj6c3u0203</node><entry><content>content_4qt0eh0206</content></entry></data>

2021-09-21 00:19:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 07:19:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 00:19:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f4671941-f358-4cad-b362-cbb7cfc132ff</value></item-id></result>

2021-09-21 00:19:27 | contains: true

2021-09-21 00:19:32 | [Mutex] waiting for: [user_regulari44iov0202@test-domain.com:message:received:content_4qt0eh0206]

2021-09-21 00:19:32 | [Mutex] received everything.

2021-09-21 00:19:32 | [Mutex] isItemNotified: user_regulari44iov0202@test-domain.com:message:received:content_4qt0eh0206 :: true

2021-09-21 00:19:32 |


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


2021-09-21 00:19:32 | [Mutex] received everything.

2021-09-21 00:19:32 | [Mutex] isItemNotified: node_lj6c3u0203:subscribe_node:success :: true

2021-09-21 00:19:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 00:19:32 | command: <data><node>node_lj6c3u0203</node><expire-at>2021-09-21T07:19:37Z</expire-at><entry><content>content_vwqwf80207</content></entry></data>

2021-09-21 00:19:32 | target: http://localhost:8088

2021-09-21 00:19:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-21 00:19:32 | entity: <data><node>node_lj6c3u0203</node><expire-at>2021-09-21T07:19:37Z</expire-at><entry><content>content_vwqwf80207</content></entry></data>

2021-09-21 00:19:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 07:19:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 00:19:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4b1b4a5e-7780-4b66-93fb-bdbdc9ad088d</value></item-id></result>

2021-09-21 00:19:33 | contains: true

2021-09-21 00:19:41 | [Mutex] waiting for: [user_regulari44iov0202@test-domain.com:message:received:content_vwqwf80207]

2021-09-21 00:19:56 | [Mutex] timeout. Not received [user_regulari44iov0202@test-domain.com:message:received:content_vwqwf80207]

2021-09-21 00:19:56 | [Mutex] received everything.

2021-09-21 00:19:56 | [Mutex] isItemNotified: user_regulari44iov0202@test-domain.com:message:received:content_vwqwf80207 :: false

2021-09-21 00:19:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vwqwf80207 :: true