Generated by TestNG with ReportNG at 22:33 PDT on Thursday 17 September 2020
root@f53a97fae7d2 / 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.835s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.739s
2020-09-17 22:50:46 |

2020-09-17 22:50:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-17 22:50:46 | ------------------------------------

2020-09-17 22:50:46 | [Mutex] isItemNotified: node_r4b7kq0203:exists :: false

2020-09-17 22:50:46 | [Mutex] waiting for: [node_r4b7kq0203:create_node]

2020-09-17 22:50:46 | [Mutex] received everything.

2020-09-17 22:50:46 | [Mutex] isItemNotified: node_r4b7kq0203:create_node:success :: true

2020-09-17 22:50:46 | [Mutex] waiting for: [node_r4b7kq0203:subscribe_node]

2020-09-17 22:50:46 | [Mutex] received everything.

2020-09-17 22:50:46 | [Mutex] isItemNotified: node_r4b7kq0203:subscribe_node:success :: true

2020-09-17 22:50:46 |


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


2020-09-17 22:50:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-17 22:50:46 | command: <data><node>node_r4b7kq0203</node><entry><content>content_rptzh00204</content></entry></data>

2020-09-17 22:50:46 | target: http://localhost:8088

2020-09-17 22:50:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-17 22:50:46 | entity: <data><node>node_r4b7kq0203</node><entry><content>content_rptzh00204</content></entry></data>

2020-09-17 22:50:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 05:50:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-17 22:50:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fddf3e3b-9ed3-44a2-83f9-810a5a929090</value></item-id></result>

2020-09-17 22:50:46 | contains: true

2020-09-17 22:50:46 | [Mutex] received everything.

2020-09-17 22:50:46 | [Mutex] isItemNotified: user_regularx85vcs0202@test-domain.com:message:received:content_rptzh00204 :: true

2020-09-17 22:50:46 |


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


2020-09-17 22:50:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-17 22:50:46 | command: <data><node>node_r4b7kq0203</node><expire-at>2020-09-18T05:50:41Z</expire-at><entry><content>content_pq5un60205</content></entry></data>

2020-09-17 22:50:46 | target: http://localhost:8088

2020-09-17 22:50:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-17 22:50:46 | entity: <data><node>node_r4b7kq0203</node><expire-at>2020-09-18T05:50:41Z</expire-at><entry><content>content_pq5un60205</content></entry></data>

2020-09-17 22:50:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 05:50:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-17 22:50:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>86cbcb3b-9afe-46c9-a4a9-6ae05686db33</value></item-id></result>

2020-09-17 22:50:46 | contains: true

2020-09-17 22:50:46 | [Mutex] waiting for: [user_regularx85vcs0202@test-domain.com:message:received:content_pq5un60205]

2020-09-17 22:51:01 | [Mutex] timeout. Not received [user_regularx85vcs0202@test-domain.com:message:received:content_pq5un60205]

2020-09-17 22:51:01 | [Mutex] isItemNotified: user_regularx85vcs0202@test-domain.com:message:received:content_pq5un60205 :: false

2020-09-17 22:51:01 |


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


2020-09-17 22:51:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-17 22:51:01 | command: <data><node>node_r4b7kq0203</node><entry><content>content_73r9j40206</content></entry></data>

2020-09-17 22:51:01 | target: http://localhost:8088

2020-09-17 22:51:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-17 22:51:01 | entity: <data><node>node_r4b7kq0203</node><entry><content>content_73r9j40206</content></entry></data>

2020-09-17 22:51:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 05:51:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-17 22:51:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a8461e12-14fd-484c-a5fe-aaef99b2524e</value></item-id></result>

2020-09-17 22:51:01 | contains: true

2020-09-17 22:51:06 | [Mutex] waiting for: [user_regularx85vcs0202@test-domain.com:message:received:content_73r9j40206]

2020-09-17 22:51:06 | [Mutex] received everything.

2020-09-17 22:51:06 | [Mutex] isItemNotified: user_regularx85vcs0202@test-domain.com:message:received:content_73r9j40206 :: true

2020-09-17 22:51:06 |


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


2020-09-17 22:51:06 | [Mutex] received everything.

2020-09-17 22:51:06 | [Mutex] isItemNotified: node_r4b7kq0203:subscribe_node:success :: true

2020-09-17 22:51:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-17 22:51:06 | command: <data><node>node_r4b7kq0203</node><expire-at>2020-09-18T05:51:11Z</expire-at><entry><content>content_v47800207</content></entry></data>

2020-09-17 22:51:06 | target: http://localhost:8088

2020-09-17 22:51:06 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2020-09-17 22:51:06 | entity: <data><node>node_r4b7kq0203</node><expire-at>2020-09-18T05:51:11Z</expire-at><entry><content>content_v47800207</content></entry></data>

2020-09-17 22:51:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 05:51:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-17 22:51:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>885e305f-f00b-4bd3-afff-23ac6edcde4e</value></item-id></result>

2020-09-17 22:51:06 | contains: true

2020-09-17 22:51:14 | [Mutex] waiting for: [user_regularx85vcs0202@test-domain.com:message:received:content_v47800207]

2020-09-17 22:51:29 | [Mutex] timeout. Not received [user_regularx85vcs0202@test-domain.com:message:received:content_v47800207]

2020-09-17 22:51:29 | [Mutex] received everything.

2020-09-17 22:51:29 | [Mutex] isItemNotified: user_regularx85vcs0202@test-domain.com:message:received:content_v47800207 :: false

2020-09-17 22:51:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_v47800207 :: true