Generated by TestNG with ReportNG at 22:34 PDT on Monday 05 October 2020
root@43fec6d4badf / 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.485s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.703s
2020-10-05 22:49:25 |

2020-10-05 22:49:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-05 22:49:25 | ------------------------------------

2020-10-05 22:49:25 | [Mutex] isItemNotified: node_2stgad0203:exists :: false

2020-10-05 22:49:25 | [Mutex] waiting for: [node_2stgad0203:create_node]

2020-10-05 22:49:25 | [Mutex] received everything.

2020-10-05 22:49:25 | [Mutex] isItemNotified: node_2stgad0203:create_node:success :: true

2020-10-05 22:49:25 | [Mutex] waiting for: [node_2stgad0203:subscribe_node]

2020-10-05 22:49:25 | [Mutex] received everything.

2020-10-05 22:49:25 | [Mutex] isItemNotified: node_2stgad0203:subscribe_node:success :: true

2020-10-05 22:49:25 |


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


2020-10-05 22:49:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-05 22:49:25 | command: <data><node>node_2stgad0203</node><entry><content>content_lr3tft0204</content></entry></data>

2020-10-05 22:49:25 | target: http://localhost:8088

2020-10-05 22:49:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-05 22:49:25 | entity: <data><node>node_2stgad0203</node><entry><content>content_lr3tft0204</content></entry></data>

2020-10-05 22:49:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 05:49:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-05 22:49:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3571bfc1-c814-4c23-b26b-311108bbbab0</value></item-id></result>

2020-10-05 22:49:25 | contains: true

2020-10-05 22:49:25 | [Mutex] received everything.

2020-10-05 22:49:25 | [Mutex] isItemNotified: user_regularz6ha3g0202@test-domain.com:message:received:content_lr3tft0204 :: true

2020-10-05 22:49:25 |


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


2020-10-05 22:49:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-05 22:49:25 | command: <data><node>node_2stgad0203</node><expire-at>2020-10-06T05:49:20Z</expire-at><entry><content>content_fciwbx0205</content></entry></data>

2020-10-05 22:49:25 | target: http://localhost:8088

2020-10-05 22:49:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-05 22:49:25 | entity: <data><node>node_2stgad0203</node><expire-at>2020-10-06T05:49:20Z</expire-at><entry><content>content_fciwbx0205</content></entry></data>

2020-10-05 22:49:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 05:49:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-05 22:49:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>63392dfb-7a0b-4a74-a03f-b811795cbece</value></item-id></result>

2020-10-05 22:49:25 | contains: true

2020-10-05 22:49:25 | [Mutex] waiting for: [user_regularz6ha3g0202@test-domain.com:message:received:content_fciwbx0205]

2020-10-05 22:49:40 | [Mutex] timeout. Not received [user_regularz6ha3g0202@test-domain.com:message:received:content_fciwbx0205]

2020-10-05 22:49:40 | [Mutex] isItemNotified: user_regularz6ha3g0202@test-domain.com:message:received:content_fciwbx0205 :: false

2020-10-05 22:49:40 |


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


2020-10-05 22:49:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-05 22:49:41 | command: <data><node>node_2stgad0203</node><entry><content>content_36zzfg0206</content></entry></data>

2020-10-05 22:49:41 | target: http://localhost:8088

2020-10-05 22:49:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-05 22:49:41 | entity: <data><node>node_2stgad0203</node><entry><content>content_36zzfg0206</content></entry></data>

2020-10-05 22:49:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 05:49:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-05 22:49:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1d6e45ff-258c-4ec8-8687-730d78b7ccd3</value></item-id></result>

2020-10-05 22:49:41 | contains: true

2020-10-05 22:49:46 | [Mutex] waiting for: [user_regularz6ha3g0202@test-domain.com:message:received:content_36zzfg0206]

2020-10-05 22:49:46 | [Mutex] received everything.

2020-10-05 22:49:46 | [Mutex] isItemNotified: user_regularz6ha3g0202@test-domain.com:message:received:content_36zzfg0206 :: true

2020-10-05 22:49:46 |


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


2020-10-05 22:49:46 | [Mutex] received everything.

2020-10-05 22:49:46 | [Mutex] isItemNotified: node_2stgad0203:subscribe_node:success :: true

2020-10-05 22:49:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-05 22:49:46 | command: <data><node>node_2stgad0203</node><expire-at>2020-10-06T05:49:51Z</expire-at><entry><content>content_aofxs00207</content></entry></data>

2020-10-05 22:49:46 | target: http://localhost:8088

2020-10-05 22:49:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-05 22:49:46 | entity: <data><node>node_2stgad0203</node><expire-at>2020-10-06T05:49:51Z</expire-at><entry><content>content_aofxs00207</content></entry></data>

2020-10-05 22:49:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 05:49:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-05 22:49:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e4864903-ccf7-409b-8934-4d721fa88638</value></item-id></result>

2020-10-05 22:49:46 | contains: true

2020-10-05 22:49:54 | [Mutex] waiting for: [user_regularz6ha3g0202@test-domain.com:message:received:content_aofxs00207]

2020-10-05 22:50:09 | [Mutex] timeout. Not received [user_regularz6ha3g0202@test-domain.com:message:received:content_aofxs00207]

2020-10-05 22:50:09 | [Mutex] received everything.

2020-10-05 22:50:09 | [Mutex] isItemNotified: user_regularz6ha3g0202@test-domain.com:message:received:content_aofxs00207 :: false

2020-10-05 22:50:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_aofxs00207 :: true