Generated by TestNG with ReportNG at 22:28 PDT on Friday 25 September 2020
root@a0242a034c6f / 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.399s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.799s
2020-09-25 22:43:44 |

2020-09-25 22:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-25 22:43:44 | ------------------------------------

2020-09-25 22:43:44 | [Mutex] isItemNotified: node_vpvg2m0203:exists :: false

2020-09-25 22:43:44 | [Mutex] waiting for: [node_vpvg2m0203:create_node]

2020-09-25 22:43:44 | [Mutex] received everything.

2020-09-25 22:43:44 | [Mutex] isItemNotified: node_vpvg2m0203:create_node:success :: true

2020-09-25 22:43:44 | [Mutex] waiting for: [node_vpvg2m0203:subscribe_node]

2020-09-25 22:43:44 | [Mutex] received everything.

2020-09-25 22:43:44 | [Mutex] isItemNotified: node_vpvg2m0203:subscribe_node:success :: true

2020-09-25 22:43:44 |


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


2020-09-25 22:43:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-25 22:43:44 | command: <data><node>node_vpvg2m0203</node><entry><content>content_cwfrvy0204</content></entry></data>

2020-09-25 22:43:44 | target: http://localhost:8088

2020-09-25 22:43:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-25 22:43:44 | entity: <data><node>node_vpvg2m0203</node><entry><content>content_cwfrvy0204</content></entry></data>

2020-09-25 22:43:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:43:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 22:43:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>74c473ac-0b53-4894-a997-933c168e21dd</value></item-id></result>

2020-09-25 22:43:44 | contains: true

2020-09-25 22:43:44 | [Mutex] received everything.

2020-09-25 22:43:44 | [Mutex] isItemNotified: user_regular2fg7cx0202@test-domain.com:message:received:content_cwfrvy0204 :: true

2020-09-25 22:43:44 |


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


2020-09-25 22:43:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-25 22:43:44 | command: <data><node>node_vpvg2m0203</node><expire-at>2020-09-26T05:43:39Z</expire-at><entry><content>content_jl0vg10205</content></entry></data>

2020-09-25 22:43:44 | target: http://localhost:8088

2020-09-25 22:43:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-25 22:43:44 | entity: <data><node>node_vpvg2m0203</node><expire-at>2020-09-26T05:43:39Z</expire-at><entry><content>content_jl0vg10205</content></entry></data>

2020-09-25 22:43:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:43:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 22:43:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>331843c2-39c6-41b0-ae49-23a9ef8a67d5</value></item-id></result>

2020-09-25 22:43:45 | contains: true

2020-09-25 22:43:45 | [Mutex] waiting for: [user_regular2fg7cx0202@test-domain.com:message:received:content_jl0vg10205]

2020-09-25 22:44:00 | [Mutex] timeout. Not received [user_regular2fg7cx0202@test-domain.com:message:received:content_jl0vg10205]

2020-09-25 22:44:00 | [Mutex] isItemNotified: user_regular2fg7cx0202@test-domain.com:message:received:content_jl0vg10205 :: false

2020-09-25 22:44:00 |


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


2020-09-25 22:44:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-25 22:44:00 | command: <data><node>node_vpvg2m0203</node><entry><content>content_vdp6h0206</content></entry></data>

2020-09-25 22:44:00 | target: http://localhost:8088

2020-09-25 22:44:00 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2020-09-25 22:44:00 | entity: <data><node>node_vpvg2m0203</node><entry><content>content_vdp6h0206</content></entry></data>

2020-09-25 22:44:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:44:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 22:44:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>22c3ee59-9dde-4ca2-97c3-4a2385ea1b1a</value></item-id></result>

2020-09-25 22:44:00 | contains: true

2020-09-25 22:44:05 | [Mutex] waiting for: [user_regular2fg7cx0202@test-domain.com:message:received:content_vdp6h0206]

2020-09-25 22:44:05 | [Mutex] waiting for: [user_regular2fg7cx0202@test-domain.com:message:received:content_vdp6h0206]

2020-09-25 22:44:05 | [Mutex] received everything.

2020-09-25 22:44:05 | [Mutex] isItemNotified: user_regular2fg7cx0202@test-domain.com:message:received:content_vdp6h0206 :: true

2020-09-25 22:44:05 |


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


2020-09-25 22:44:05 | [Mutex] received everything.

2020-09-25 22:44:05 | [Mutex] isItemNotified: node_vpvg2m0203:subscribe_node:success :: true

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

2020-09-25 22:44:05 | command: <data><node>node_vpvg2m0203</node><expire-at>2020-09-26T05:44:10Z</expire-at><entry><content>content_pz5yf90207</content></entry></data>

2020-09-25 22:44:05 | target: http://localhost:8088

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

2020-09-25 22:44:05 | entity: <data><node>node_vpvg2m0203</node><expire-at>2020-09-26T05:44:10Z</expire-at><entry><content>content_pz5yf90207</content></entry></data>

2020-09-25 22:44:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:44:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-25 22:44:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b38aba42-5bab-41e8-823b-53cb4e6d6c7d</value></item-id></result>

2020-09-25 22:44:05 | contains: true

2020-09-25 22:44:13 | [Mutex] waiting for: [user_regular2fg7cx0202@test-domain.com:message:received:content_pz5yf90207]

2020-09-25 22:44:13 | [Mutex] waiting for: [user_regular2fg7cx0202@test-domain.com:message:received:content_pz5yf90207]

2020-09-25 22:44:28 | [Mutex] timeout. Not received [user_regular2fg7cx0202@test-domain.com:message:received:content_pz5yf90207]

2020-09-25 22:44:28 | [Mutex] received everything.

2020-09-25 22:44:28 | [Mutex] isItemNotified: user_regular2fg7cx0202@test-domain.com:message:received:content_pz5yf90207 :: false

2020-09-25 22:44:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pz5yf90207 :: true