Generated by TestNG with ReportNG at 00:09 PDT on Wednesday 26 August 2020
root@f09c7b422724 / 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.677s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.713s
2020-08-26 00:24:46 |

2020-08-26 00:24:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-08-26 00:24:46 | ------------------------------------

2020-08-26 00:24:46 | [Mutex] isItemNotified: node_2ir2u10203:exists :: false

2020-08-26 00:24:46 | [Mutex] waiting for: [node_2ir2u10203:create_node]

2020-08-26 00:24:46 | [Mutex] received everything.

2020-08-26 00:24:46 | [Mutex] isItemNotified: node_2ir2u10203:create_node:success :: true

2020-08-26 00:24:46 | [Mutex] waiting for: [node_2ir2u10203:subscribe_node]

2020-08-26 00:24:46 | [Mutex] received everything.

2020-08-26 00:24:46 | [Mutex] isItemNotified: node_2ir2u10203:subscribe_node:success :: true

2020-08-26 00:24:46 |


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


2020-08-26 00:24:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-26 00:24:46 | command: <data><node>node_2ir2u10203</node><entry><content>content_mqbjwy0204</content></entry></data>

2020-08-26 00:24:46 | target: http://localhost:8088

2020-08-26 00:24:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-26 00:24:46 | entity: <data><node>node_2ir2u10203</node><entry><content>content_mqbjwy0204</content></entry></data>

2020-08-26 00:24:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 07:24:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-26 00:24:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4976b98a-de6a-4fe5-8bf0-f7fccf74d4a4</value></item-id></result>

2020-08-26 00:24:46 | contains: true

2020-08-26 00:24:46 | [Mutex] received everything.

2020-08-26 00:24:46 | [Mutex] isItemNotified: user_regular6585j10202@test-domain.com:message:received:content_mqbjwy0204 :: true

2020-08-26 00:24:46 |


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


2020-08-26 00:24:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-26 00:24:46 | command: <data><node>node_2ir2u10203</node><expire-at>2020-08-26T07:24:41Z</expire-at><entry><content>content_970oq60205</content></entry></data>

2020-08-26 00:24:46 | target: http://localhost:8088

2020-08-26 00:24:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-26 00:24:46 | entity: <data><node>node_2ir2u10203</node><expire-at>2020-08-26T07:24:41Z</expire-at><entry><content>content_970oq60205</content></entry></data>

2020-08-26 00:24:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 07:24:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-26 00:24:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>033c78d1-83a7-4979-8d03-5a18b32d85f9</value></item-id></result>

2020-08-26 00:24:46 | contains: true

2020-08-26 00:24:46 | [Mutex] waiting for: [user_regular6585j10202@test-domain.com:message:received:content_970oq60205]

2020-08-26 00:25:01 | [Mutex] timeout. Not received [user_regular6585j10202@test-domain.com:message:received:content_970oq60205]

2020-08-26 00:25:01 | [Mutex] isItemNotified: user_regular6585j10202@test-domain.com:message:received:content_970oq60205 :: false

2020-08-26 00:25:01 |


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


2020-08-26 00:25:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-26 00:25:01 | command: <data><node>node_2ir2u10203</node><entry><content>content_3lk5tg0206</content></entry></data>

2020-08-26 00:25:01 | target: http://localhost:8088

2020-08-26 00:25:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-26 00:25:01 | entity: <data><node>node_2ir2u10203</node><entry><content>content_3lk5tg0206</content></entry></data>

2020-08-26 00:25:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 07:25:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-26 00:25:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9a12bf89-f65c-46e3-a446-34cfd936e7fb</value></item-id></result>

2020-08-26 00:25:01 | contains: true

2020-08-26 00:25:06 | [Mutex] waiting for: [user_regular6585j10202@test-domain.com:message:received:content_3lk5tg0206]

2020-08-26 00:25:06 | [Mutex] received everything.

2020-08-26 00:25:06 | [Mutex] isItemNotified: user_regular6585j10202@test-domain.com:message:received:content_3lk5tg0206 :: true

2020-08-26 00:25:06 |


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


2020-08-26 00:25:06 | [Mutex] received everything.

2020-08-26 00:25:06 | [Mutex] isItemNotified: node_2ir2u10203:subscribe_node:success :: true

2020-08-26 00:25:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-26 00:25:06 | command: <data><node>node_2ir2u10203</node><expire-at>2020-08-26T07:25:11Z</expire-at><entry><content>content_krss5u0207</content></entry></data>

2020-08-26 00:25:06 | target: http://localhost:8088

2020-08-26 00:25:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-26 00:25:06 | entity: <data><node>node_2ir2u10203</node><expire-at>2020-08-26T07:25:11Z</expire-at><entry><content>content_krss5u0207</content></entry></data>

2020-08-26 00:25:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 07:25:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-26 00:25:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6c75b256-7612-4b05-9e06-a10f2d41de4c</value></item-id></result>

2020-08-26 00:25:06 | contains: true

2020-08-26 00:25:15 | [Mutex] waiting for: [user_regular6585j10202@test-domain.com:message:received:content_krss5u0207]

2020-08-26 00:25:30 | [Mutex] timeout. Not received [user_regular6585j10202@test-domain.com:message:received:content_krss5u0207]

2020-08-26 00:25:30 | [Mutex] received everything.

2020-08-26 00:25:30 | [Mutex] isItemNotified: user_regular6585j10202@test-domain.com:message:received:content_krss5u0207 :: false

2020-08-26 00:25:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_krss5u0207 :: true