Generated by TestNG with ReportNG at 22:45 PDT on Wednesday 21 October 2020
root@87f6aca6b6f2 / 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.511s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.850s
2020-10-21 23:02:25 |

2020-10-21 23:02:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-21 23:02:25 | ------------------------------------

2020-10-21 23:02:25 | [Mutex] isItemNotified: node_sh5qre0203:exists :: false

2020-10-21 23:02:25 | [Mutex] waiting for: [node_sh5qre0203:create_node]

2020-10-21 23:02:25 | [Mutex] received everything.

2020-10-21 23:02:25 | [Mutex] isItemNotified: node_sh5qre0203:create_node:success :: true

2020-10-21 23:02:25 | [Mutex] waiting for: [node_sh5qre0203:subscribe_node]

2020-10-21 23:02:25 | [Mutex] received everything.

2020-10-21 23:02:25 | [Mutex] isItemNotified: node_sh5qre0203:subscribe_node:success :: true

2020-10-21 23:02:25 |


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


2020-10-21 23:02:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-21 23:02:25 | command: <data><node>node_sh5qre0203</node><entry><content>content_aeygb20204</content></entry></data>

2020-10-21 23:02:25 | target: http://localhost:8088

2020-10-21 23:02:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-21 23:02:25 | entity: <data><node>node_sh5qre0203</node><entry><content>content_aeygb20204</content></entry></data>

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

2020-10-21 23:02:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>54a008b3-2e22-4c18-8472-3a66839eec56</value></item-id></result>

2020-10-21 23:02:25 | contains: true

2020-10-21 23:02:25 | [Mutex] received everything.

2020-10-21 23:02:25 | [Mutex] isItemNotified: user_regularga5vbv0202@test-domain.com:message:received:content_aeygb20204 :: true

2020-10-21 23:02:25 |


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


2020-10-21 23:02:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-21 23:02:25 | command: <data><node>node_sh5qre0203</node><expire-at>2020-10-22T06:02:20Z</expire-at><entry><content>content_r09ozv0205</content></entry></data>

2020-10-21 23:02:25 | target: http://localhost:8088

2020-10-21 23:02:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-21 23:02:25 | entity: <data><node>node_sh5qre0203</node><expire-at>2020-10-22T06:02:20Z</expire-at><entry><content>content_r09ozv0205</content></entry></data>

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

2020-10-21 23:02:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>37e90f0a-59f7-45e5-a2c8-2ab279287a75</value></item-id></result>

2020-10-21 23:02:25 | contains: true

2020-10-21 23:02:25 | [Mutex] waiting for: [user_regularga5vbv0202@test-domain.com:message:received:content_r09ozv0205]

2020-10-21 23:02:40 | [Mutex] timeout. Not received [user_regularga5vbv0202@test-domain.com:message:received:content_r09ozv0205]

2020-10-21 23:02:40 | [Mutex] isItemNotified: user_regularga5vbv0202@test-domain.com:message:received:content_r09ozv0205 :: false

2020-10-21 23:02:40 |


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


2020-10-21 23:02:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-21 23:02:40 | command: <data><node>node_sh5qre0203</node><entry><content>content_kun78p0206</content></entry></data>

2020-10-21 23:02:40 | target: http://localhost:8088

2020-10-21 23:02:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-21 23:02:40 | entity: <data><node>node_sh5qre0203</node><entry><content>content_kun78p0206</content></entry></data>

2020-10-21 23:02:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 06:02:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-21 23:02:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c2fdff7a-ac0d-4299-9897-a0bc8267c8bb</value></item-id></result>

2020-10-21 23:02:40 | contains: true

2020-10-21 23:02:45 | [Mutex] waiting for: [user_regularga5vbv0202@test-domain.com:message:received:content_kun78p0206]

2020-10-21 23:02:45 | [Mutex] received everything.

2020-10-21 23:02:45 | [Mutex] isItemNotified: user_regularga5vbv0202@test-domain.com:message:received:content_kun78p0206 :: true

2020-10-21 23:02:45 |


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


2020-10-21 23:02:45 | [Mutex] received everything.

2020-10-21 23:02:45 | [Mutex] isItemNotified: node_sh5qre0203:subscribe_node:success :: true

2020-10-21 23:02:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-21 23:02:45 | command: <data><node>node_sh5qre0203</node><expire-at>2020-10-22T06:02:50Z</expire-at><entry><content>content_xshcit0207</content></entry></data>

2020-10-21 23:02:45 | target: http://localhost:8088

2020-10-21 23:02:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-21 23:02:45 | entity: <data><node>node_sh5qre0203</node><expire-at>2020-10-22T06:02:50Z</expire-at><entry><content>content_xshcit0207</content></entry></data>

2020-10-21 23:02:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 06:02:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-21 23:02:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5c8507ec-85cd-4160-a8a9-9bed0feb6159</value></item-id></result>

2020-10-21 23:02:45 | contains: true

2020-10-21 23:02:53 | [Mutex] waiting for: [user_regularga5vbv0202@test-domain.com:message:received:content_xshcit0207]

2020-10-21 23:03:08 | [Mutex] timeout. Not received [user_regularga5vbv0202@test-domain.com:message:received:content_xshcit0207]

2020-10-21 23:03:08 | [Mutex] received everything.

2020-10-21 23:03:08 | [Mutex] isItemNotified: user_regularga5vbv0202@test-domain.com:message:received:content_xshcit0207 :: false

2020-10-21 23:03:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xshcit0207 :: true