Generated by TestNG with ReportNG at 22:52 PDT on Friday 18 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.621s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.672s
2020-09-18 23:07:12 |

2020-09-18 23:07:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-18 23:07:12 | ------------------------------------

2020-09-18 23:07:12 | [Mutex] isItemNotified: node_nttoqq0203:exists :: false

2020-09-18 23:07:12 | [Mutex] waiting for: [node_nttoqq0203:create_node]

2020-09-18 23:07:12 | [Mutex] received everything.

2020-09-18 23:07:12 | [Mutex] isItemNotified: node_nttoqq0203:create_node:success :: true

2020-09-18 23:07:12 | [Mutex] waiting for: [node_nttoqq0203:subscribe_node]

2020-09-18 23:07:12 | [Mutex] waiting for: [node_nttoqq0203:subscribe_node]

2020-09-18 23:07:12 | [Mutex] received everything.

2020-09-18 23:07:12 | [Mutex] isItemNotified: node_nttoqq0203:subscribe_node:success :: true

2020-09-18 23:07:12 |


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


2020-09-18 23:07:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 23:07:12 | command: <data><node>node_nttoqq0203</node><entry><content>content_5i1h7d0204</content></entry></data>

2020-09-18 23:07:12 | target: http://localhost:8088

2020-09-18 23:07:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-18 23:07:12 | entity: <data><node>node_nttoqq0203</node><entry><content>content_5i1h7d0204</content></entry></data>

2020-09-18 23:07:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 06:07:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 23:07:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b7880841-1924-4a33-88e7-1e7f44737f71</value></item-id></result>

2020-09-18 23:07:12 | contains: true

2020-09-18 23:07:12 | [Mutex] received everything.

2020-09-18 23:07:12 | [Mutex] isItemNotified: user_regularnp0p120202@test-domain.com:message:received:content_5i1h7d0204 :: true

2020-09-18 23:07:12 |


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


2020-09-18 23:07:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 23:07:12 | command: <data><node>node_nttoqq0203</node><expire-at>2020-09-19T06:07:07Z</expire-at><entry><content>content_ftu1e40205</content></entry></data>

2020-09-18 23:07:12 | target: http://localhost:8088

2020-09-18 23:07:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-18 23:07:12 | entity: <data><node>node_nttoqq0203</node><expire-at>2020-09-19T06:07:07Z</expire-at><entry><content>content_ftu1e40205</content></entry></data>

2020-09-18 23:07:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 06:07:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 23:07:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eb81d941-38b5-4213-9246-83a4d0b0ffc7</value></item-id></result>

2020-09-18 23:07:12 | contains: true

2020-09-18 23:07:12 | [Mutex] waiting for: [user_regularnp0p120202@test-domain.com:message:received:content_ftu1e40205]

2020-09-18 23:07:27 | [Mutex] timeout. Not received [user_regularnp0p120202@test-domain.com:message:received:content_ftu1e40205]

2020-09-18 23:07:27 | [Mutex] isItemNotified: user_regularnp0p120202@test-domain.com:message:received:content_ftu1e40205 :: false

2020-09-18 23:07:27 |


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


2020-09-18 23:07:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 23:07:27 | command: <data><node>node_nttoqq0203</node><entry><content>content_sbsiyt0206</content></entry></data>

2020-09-18 23:07:27 | target: http://localhost:8088

2020-09-18 23:07:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-18 23:07:27 | entity: <data><node>node_nttoqq0203</node><entry><content>content_sbsiyt0206</content></entry></data>

2020-09-18 23:07:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 06:07:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 23:07:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f9503868-6dad-4365-a77e-b8f24a62b110</value></item-id></result>

2020-09-18 23:07:27 | contains: true

2020-09-18 23:07:32 | [Mutex] received everything.

2020-09-18 23:07:32 | [Mutex] isItemNotified: user_regularnp0p120202@test-domain.com:message:received:content_sbsiyt0206 :: true

2020-09-18 23:07:32 |


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


2020-09-18 23:07:32 | [Mutex] received everything.

2020-09-18 23:07:32 | [Mutex] isItemNotified: node_nttoqq0203:subscribe_node:success :: true

2020-09-18 23:07:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 23:07:32 | command: <data><node>node_nttoqq0203</node><expire-at>2020-09-19T06:07:37Z</expire-at><entry><content>content_g4v2620207</content></entry></data>

2020-09-18 23:07:32 | target: http://localhost:8088

2020-09-18 23:07:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-18 23:07:32 | entity: <data><node>node_nttoqq0203</node><expire-at>2020-09-19T06:07:37Z</expire-at><entry><content>content_g4v2620207</content></entry></data>

2020-09-18 23:07:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 06:07:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 23:07:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8f556e0e-bf16-4fd0-b9c2-c79a41cd5e5a</value></item-id></result>

2020-09-18 23:07:32 | contains: true

2020-09-18 23:07:41 | [Mutex] waiting for: [user_regularnp0p120202@test-domain.com:message:received:content_g4v2620207]

2020-09-18 23:07:56 | [Mutex] timeout. Not received [user_regularnp0p120202@test-domain.com:message:received:content_g4v2620207]

2020-09-18 23:07:56 | [Mutex] received everything.

2020-09-18 23:07:56 | [Mutex] isItemNotified: user_regularnp0p120202@test-domain.com:message:received:content_g4v2620207 :: false

2020-09-18 23:07:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_g4v2620207 :: true