Generated by TestNG with ReportNG at 22:35 PDT on Monday 20 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 : 44.897s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.639s
2021-09-20 22:52:30 |

2021-09-20 22:52:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-20 22:52:30 | ------------------------------------

2021-09-20 22:52:30 | [Mutex] isItemNotified: node_lwb310203:exists :: false

2021-09-20 22:52:30 | [Mutex] waiting for: [node_lwb310203:create_node]

2021-09-20 22:52:30 | [Mutex] received everything.

2021-09-20 22:52:30 | [Mutex] isItemNotified: node_lwb310203:create_node:success :: true

2021-09-20 22:52:30 | [Mutex] waiting for: [node_lwb310203:subscribe_node]

2021-09-20 22:52:31 | [Mutex] waiting for: [node_lwb310203:subscribe_node]

2021-09-20 22:52:31 | [Mutex] received everything.

2021-09-20 22:52:31 | [Mutex] isItemNotified: node_lwb310203:subscribe_node:success :: true

2021-09-20 22:52:31 |


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


2021-09-20 22:52:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-20 22:52:31 | command: <data><node>node_lwb310203</node><entry><content>content_enm2mv0204</content></entry></data>

2021-09-20 22:52:31 | target: http://localhost:8088

2021-09-20 22:52:31 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-09-20 22:52:31 | entity: <data><node>node_lwb310203</node><entry><content>content_enm2mv0204</content></entry></data>

2021-09-20 22:52:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 05:52:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-20 22:52:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5f449257-994c-4794-bd83-fdcea64c54f4</value></item-id></result>

2021-09-20 22:52:31 | contains: true

2021-09-20 22:52:31 | [Mutex] received everything.

2021-09-20 22:52:31 | [Mutex] isItemNotified: user_regularyzeiqj0202@test-domain.com:message:received:content_enm2mv0204 :: true

2021-09-20 22:52:31 |


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


2021-09-20 22:52:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-20 22:52:31 | command: <data><node>node_lwb310203</node><expire-at>2021-09-21T05:52:26Z</expire-at><entry><content>content_7yayw0205</content></entry></data>

2021-09-20 22:52:31 | target: http://localhost:8088

2021-09-20 22:52:31 | entity: [Content-Type: application/xml,Content-Length: 134,Chunked: false]

2021-09-20 22:52:31 | entity: <data><node>node_lwb310203</node><expire-at>2021-09-21T05:52:26Z</expire-at><entry><content>content_7yayw0205</content></entry></data>

2021-09-20 22:52:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 05:52:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-20 22:52:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>600a1686-026d-4fb4-8783-edbdf8a7ef83</value></item-id></result>

2021-09-20 22:52:31 | contains: true

2021-09-20 22:52:31 | [Mutex] waiting for: [user_regularyzeiqj0202@test-domain.com:message:received:content_7yayw0205]

2021-09-20 22:52:46 | [Mutex] timeout. Not received [user_regularyzeiqj0202@test-domain.com:message:received:content_7yayw0205]

2021-09-20 22:52:46 | [Mutex] isItemNotified: user_regularyzeiqj0202@test-domain.com:message:received:content_7yayw0205 :: false

2021-09-20 22:52:46 |


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


2021-09-20 22:52:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-20 22:52:46 | command: <data><node>node_lwb310203</node><entry><content>content_8v0hpk0206</content></entry></data>

2021-09-20 22:52:46 | target: http://localhost:8088

2021-09-20 22:52:46 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-09-20 22:52:46 | entity: <data><node>node_lwb310203</node><entry><content>content_8v0hpk0206</content></entry></data>

2021-09-20 22:52:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 05:52:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-20 22:52:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0620f3dc-f89d-4a16-9a44-04c7d27f7861</value></item-id></result>

2021-09-20 22:52:46 | contains: true

2021-09-20 22:52:51 | [Mutex] waiting for: [user_regularyzeiqj0202@test-domain.com:message:received:content_8v0hpk0206]

2021-09-20 22:52:51 | [Mutex] received everything.

2021-09-20 22:52:51 | [Mutex] isItemNotified: user_regularyzeiqj0202@test-domain.com:message:received:content_8v0hpk0206 :: true

2021-09-20 22:52:51 |


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


2021-09-20 22:52:51 | [Mutex] received everything.

2021-09-20 22:52:51 | [Mutex] isItemNotified: node_lwb310203:subscribe_node:success :: true

2021-09-20 22:52:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-20 22:52:51 | command: <data><node>node_lwb310203</node><expire-at>2021-09-21T05:52:56Z</expire-at><entry><content>content_yoed3m0207</content></entry></data>

2021-09-20 22:52:51 | target: http://localhost:8088

2021-09-20 22:52:51 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-09-20 22:52:51 | entity: <data><node>node_lwb310203</node><expire-at>2021-09-21T05:52:56Z</expire-at><entry><content>content_yoed3m0207</content></entry></data>

2021-09-20 22:52:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Sep 2021 05:52:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-20 22:52:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>604cc5d6-587d-48c6-b65c-927e1aafa19a</value></item-id></result>

2021-09-20 22:52:51 | contains: true

2021-09-20 22:52:59 | [Mutex] waiting for: [user_regularyzeiqj0202@test-domain.com:message:received:content_yoed3m0207]

2021-09-20 22:52:59 | [Mutex] waiting for: [user_regularyzeiqj0202@test-domain.com:message:received:content_yoed3m0207]

2021-09-20 22:53:14 | [Mutex] timeout. Not received [user_regularyzeiqj0202@test-domain.com:message:received:content_yoed3m0207]

2021-09-20 22:53:14 | [Mutex] received everything.

2021-09-20 22:53:14 | [Mutex] isItemNotified: user_regularyzeiqj0202@test-domain.com:message:received:content_yoed3m0207 :: false

2021-09-20 22:53:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yoed3m0207 :: true