Generated by TestNG with ReportNG at 22:47 PDT on Sunday 14 March 2021
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.275s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.660s
2021-03-14 23:01:45 |

2021-03-14 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-14 23:01:45 | ------------------------------------

2021-03-14 23:01:45 | [Mutex] isItemNotified: node_y9zmte0203:exists :: false

2021-03-14 23:01:45 | [Mutex] waiting for: [node_y9zmte0203:create_node]

2021-03-14 23:01:45 | [Mutex] received everything.

2021-03-14 23:01:45 | [Mutex] isItemNotified: node_y9zmte0203:create_node:success :: true

2021-03-14 23:01:45 | [Mutex] waiting for: [node_y9zmte0203:subscribe_node]

2021-03-14 23:01:45 | [Mutex] waiting for: [node_y9zmte0203:subscribe_node]

2021-03-14 23:01:45 | [Mutex] received everything.

2021-03-14 23:01:45 | [Mutex] isItemNotified: node_y9zmte0203:subscribe_node:success :: true

2021-03-14 23:01:45 |


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


2021-03-14 23:01:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 23:01:45 | command: <data><node>node_y9zmte0203</node><entry><content>content_726kuy0204</content></entry></data>

2021-03-14 23:01:45 | target: http://localhost:8088

2021-03-14 23:01:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-14 23:01:45 | entity: <data><node>node_y9zmte0203</node><entry><content>content_726kuy0204</content></entry></data>

2021-03-14 23:01:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 06:01:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 23:01:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cc4c7edb-e430-42ac-810f-f3b983b1d0f7</value></item-id></result>

2021-03-14 23:01:46 | contains: true

2021-03-14 23:01:46 | [Mutex] waiting for: [user_regular7hd2dk0202@test-domain.com:message:received:content_726kuy0204]

2021-03-14 23:01:46 | [Mutex] received everything.

2021-03-14 23:01:46 | [Mutex] isItemNotified: user_regular7hd2dk0202@test-domain.com:message:received:content_726kuy0204 :: true

2021-03-14 23:01:46 |


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


2021-03-14 23:01:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 23:01:46 | command: <data><node>node_y9zmte0203</node><expire-at>2021-03-15T06:01:41Z</expire-at><entry><content>content_5w1m5z0205</content></entry></data>

2021-03-14 23:01:46 | target: http://localhost:8088

2021-03-14 23:01:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-14 23:01:46 | entity: <data><node>node_y9zmte0203</node><expire-at>2021-03-15T06:01:41Z</expire-at><entry><content>content_5w1m5z0205</content></entry></data>

2021-03-14 23:01:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 06:01:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 23:01:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ba390041-1a31-4249-9bcb-8e577cace1ea</value></item-id></result>

2021-03-14 23:01:46 | contains: true

2021-03-14 23:01:46 | [Mutex] waiting for: [user_regular7hd2dk0202@test-domain.com:message:received:content_5w1m5z0205]

2021-03-14 23:02:01 | [Mutex] timeout. Not received [user_regular7hd2dk0202@test-domain.com:message:received:content_5w1m5z0205]

2021-03-14 23:02:01 | [Mutex] isItemNotified: user_regular7hd2dk0202@test-domain.com:message:received:content_5w1m5z0205 :: false

2021-03-14 23:02:01 |


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


2021-03-14 23:02:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 23:02:01 | command: <data><node>node_y9zmte0203</node><entry><content>content_y60de60206</content></entry></data>

2021-03-14 23:02:01 | target: http://localhost:8088

2021-03-14 23:02:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-14 23:02:01 | entity: <data><node>node_y9zmte0203</node><entry><content>content_y60de60206</content></entry></data>

2021-03-14 23:02:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 06:02:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 23:02:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>51626b5a-7346-43d3-92ca-f3aab5c156b1</value></item-id></result>

2021-03-14 23:02:01 | contains: true

2021-03-14 23:02:06 | [Mutex] waiting for: [user_regular7hd2dk0202@test-domain.com:message:received:content_y60de60206]

2021-03-14 23:02:06 | [Mutex] waiting for: [user_regular7hd2dk0202@test-domain.com:message:received:content_y60de60206]

2021-03-14 23:02:06 | [Mutex] received everything.

2021-03-14 23:02:06 | [Mutex] isItemNotified: user_regular7hd2dk0202@test-domain.com:message:received:content_y60de60206 :: true

2021-03-14 23:02:06 |


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


2021-03-14 23:02:06 | [Mutex] received everything.

2021-03-14 23:02:06 | [Mutex] isItemNotified: node_y9zmte0203:subscribe_node:success :: true

2021-03-14 23:02:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 23:02:06 | command: <data><node>node_y9zmte0203</node><expire-at>2021-03-15T06:02:11Z</expire-at><entry><content>content_mvw4ph0207</content></entry></data>

2021-03-14 23:02:06 | target: http://localhost:8088

2021-03-14 23:02:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-14 23:02:06 | entity: <data><node>node_y9zmte0203</node><expire-at>2021-03-15T06:02:11Z</expire-at><entry><content>content_mvw4ph0207</content></entry></data>

2021-03-14 23:02:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 06:02:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 23:02:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>43979df5-e0ad-43a3-9cf9-ccd9947b4663</value></item-id></result>

2021-03-14 23:02:06 | contains: true

2021-03-14 23:02:14 | [Mutex] waiting for: [user_regular7hd2dk0202@test-domain.com:message:received:content_mvw4ph0207]

2021-03-14 23:02:29 | [Mutex] timeout. Not received [user_regular7hd2dk0202@test-domain.com:message:received:content_mvw4ph0207]

2021-03-14 23:02:29 | [Mutex] received everything.

2021-03-14 23:02:29 | [Mutex] isItemNotified: user_regular7hd2dk0202@test-domain.com:message:received:content_mvw4ph0207 :: false

2021-03-14 23:02:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mvw4ph0207 :: true