Generated by TestNG with ReportNG at 22:51 PDT on Thursday 29 April 2021
root@785cf647a4ab / 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.201s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.736s
2021-04-29 23:07:12 |

2021-04-29 23:07:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-29 23:07:12 | ------------------------------------

2021-04-29 23:07:12 | [Mutex] isItemNotified: node_iby1p20203:exists :: false

2021-04-29 23:07:12 | [Mutex] waiting for: [node_iby1p20203:create_node]

2021-04-29 23:07:12 | [Mutex] received everything.

2021-04-29 23:07:12 | [Mutex] isItemNotified: node_iby1p20203:create_node:success :: true

2021-04-29 23:07:12 | [Mutex] waiting for: [node_iby1p20203:subscribe_node]

2021-04-29 23:07:12 | [Mutex] received everything.

2021-04-29 23:07:12 | [Mutex] isItemNotified: node_iby1p20203:subscribe_node:success :: true

2021-04-29 23:07:12 |


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


2021-04-29 23:07:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-29 23:07:12 | command: <data><node>node_iby1p20203</node><entry><content>content_6b6pg50204</content></entry></data>

2021-04-29 23:07:12 | target: http://localhost:8088

2021-04-29 23:07:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-29 23:07:12 | entity: <data><node>node_iby1p20203</node><entry><content>content_6b6pg50204</content></entry></data>

2021-04-29 23:07:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 06:07:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-29 23:07:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>79341a5c-0b23-4648-8671-ee77ccca9e20</value></item-id></result>

2021-04-29 23:07:12 | contains: true

2021-04-29 23:07:12 | [Mutex] received everything.

2021-04-29 23:07:12 | [Mutex] isItemNotified: user_regular9v859p0202@test-domain.com:message:received:content_6b6pg50204 :: true

2021-04-29 23:07:12 |


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


2021-04-29 23:07:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-29 23:07:12 | command: <data><node>node_iby1p20203</node><expire-at>2021-04-30T06:07:07Z</expire-at><entry><content>content_xvtygr0205</content></entry></data>

2021-04-29 23:07:12 | target: http://localhost:8088

2021-04-29 23:07:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-29 23:07:12 | entity: <data><node>node_iby1p20203</node><expire-at>2021-04-30T06:07:07Z</expire-at><entry><content>content_xvtygr0205</content></entry></data>

2021-04-29 23:07:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 06:07:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-29 23:07:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fa5d59ab-da82-44d1-8ba3-d2d3bee212bd</value></item-id></result>

2021-04-29 23:07:12 | contains: true

2021-04-29 23:07:12 | [Mutex] waiting for: [user_regular9v859p0202@test-domain.com:message:received:content_xvtygr0205]

2021-04-29 23:07:27 | [Mutex] timeout. Not received [user_regular9v859p0202@test-domain.com:message:received:content_xvtygr0205]

2021-04-29 23:07:27 | [Mutex] isItemNotified: user_regular9v859p0202@test-domain.com:message:received:content_xvtygr0205 :: false

2021-04-29 23:07:27 |


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


2021-04-29 23:07:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-29 23:07:27 | command: <data><node>node_iby1p20203</node><entry><content>content_4gc5qt0206</content></entry></data>

2021-04-29 23:07:27 | target: http://localhost:8088

2021-04-29 23:07:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-29 23:07:27 | entity: <data><node>node_iby1p20203</node><entry><content>content_4gc5qt0206</content></entry></data>

2021-04-29 23:07:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 06:07:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-29 23:07:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9972e317-5b62-4c1d-8b82-efa6dcec6f1a</value></item-id></result>

2021-04-29 23:07:27 | contains: true

2021-04-29 23:07:33 | [Mutex] waiting for: [user_regular9v859p0202@test-domain.com:message:received:content_4gc5qt0206]

2021-04-29 23:07:33 | [Mutex] received everything.

2021-04-29 23:07:33 | [Mutex] isItemNotified: user_regular9v859p0202@test-domain.com:message:received:content_4gc5qt0206 :: true

2021-04-29 23:07:33 |


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


2021-04-29 23:07:33 | [Mutex] received everything.

2021-04-29 23:07:33 | [Mutex] isItemNotified: node_iby1p20203:subscribe_node:success :: true

2021-04-29 23:07:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-29 23:07:33 | command: <data><node>node_iby1p20203</node><expire-at>2021-04-30T06:07:38Z</expire-at><entry><content>content_fhbn5t0207</content></entry></data>

2021-04-29 23:07:33 | target: http://localhost:8088

2021-04-29 23:07:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-29 23:07:33 | entity: <data><node>node_iby1p20203</node><expire-at>2021-04-30T06:07:38Z</expire-at><entry><content>content_fhbn5t0207</content></entry></data>

2021-04-29 23:07:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 06:07:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-29 23:07:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4a47e61c-44a5-4077-b06d-58ec4242a4f8</value></item-id></result>

2021-04-29 23:07:33 | contains: true

2021-04-29 23:07:41 | [Mutex] waiting for: [user_regular9v859p0202@test-domain.com:message:received:content_fhbn5t0207]

2021-04-29 23:07:56 | [Mutex] timeout. Not received [user_regular9v859p0202@test-domain.com:message:received:content_fhbn5t0207]

2021-04-29 23:07:56 | [Mutex] received everything.

2021-04-29 23:07:56 | [Mutex] isItemNotified: user_regular9v859p0202@test-domain.com:message:received:content_fhbn5t0207 :: false

2021-04-29 23:07:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fhbn5t0207 :: true