Generated by TestNG with ReportNG at 22:18 PDT on Thursday 23 June 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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.795s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.653s
2022-06-23 22:39:53 |

2022-06-23 22:39:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-23 22:39:53 | ------------------------------------

2022-06-23 22:39:53 | [Mutex] isItemNotified: node_l6a19e0204:exists :: false

2022-06-23 22:39:53 | [Mutex] waiting for: [node_l6a19e0204:create_node]

2022-06-23 22:39:53 | [Mutex] received everything.

2022-06-23 22:39:53 | [Mutex] isItemNotified: node_l6a19e0204:create_node:success :: true

2022-06-23 22:39:53 | [Mutex] waiting for: [node_l6a19e0204:subscribe_node]

2022-06-23 22:39:53 | [Mutex] waiting for: [node_l6a19e0204:subscribe_node]

2022-06-23 22:39:53 | [Mutex] received everything.

2022-06-23 22:39:53 | [Mutex] isItemNotified: node_l6a19e0204:subscribe_node:success :: true

2022-06-23 22:39:53 |


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


2022-06-23 22:39:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-23 22:39:53 | command: <data><node>node_l6a19e0204</node><entry><content>content_gzf9gw0205</content></entry></data>

2022-06-23 22:39:53 | target: http://localhost:8088

2022-06-23 22:39:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-23 22:39:53 | entity: <data><node>node_l6a19e0204</node><entry><content>content_gzf9gw0205</content></entry></data>

2022-06-23 22:39:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Jun 2022 05:39:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-23 22:39:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b4c03a5c-b1a6-4b74-bde0-49bf5ee832a2</value></item-id></result>

2022-06-23 22:39:53 | contains: true

2022-06-23 22:39:53 | [Mutex] received everything.

2022-06-23 22:39:53 | [Mutex] isItemNotified: user_regularbdajwm0203@test-domain.com:message:received:content_gzf9gw0205 :: true

2022-06-23 22:39:53 |


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


2022-06-23 22:39:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-23 22:39:53 | command: <data><node>node_l6a19e0204</node><expire-at>2022-06-24T05:39:48Z</expire-at><entry><content>content_4r6pwc0206</content></entry></data>

2022-06-23 22:39:53 | target: http://localhost:8088

2022-06-23 22:39:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-23 22:39:53 | entity: <data><node>node_l6a19e0204</node><expire-at>2022-06-24T05:39:48Z</expire-at><entry><content>content_4r6pwc0206</content></entry></data>

2022-06-23 22:39:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Jun 2022 05:39:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-23 22:39:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>882e09a9-3cdd-473e-84e9-e25770b1e904</value></item-id></result>

2022-06-23 22:39:53 | contains: true

2022-06-23 22:39:53 | [Mutex] waiting for: [user_regularbdajwm0203@test-domain.com:message:received:content_4r6pwc0206]

2022-06-23 22:40:08 | [Mutex] timeout. Not received [user_regularbdajwm0203@test-domain.com:message:received:content_4r6pwc0206]

2022-06-23 22:40:08 | [Mutex] isItemNotified: user_regularbdajwm0203@test-domain.com:message:received:content_4r6pwc0206 :: false

2022-06-23 22:40:08 |


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


2022-06-23 22:40:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-23 22:40:08 | command: <data><node>node_l6a19e0204</node><entry><content>content_ao3dtr0207</content></entry></data>

2022-06-23 22:40:08 | target: http://localhost:8088

2022-06-23 22:40:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-23 22:40:08 | entity: <data><node>node_l6a19e0204</node><entry><content>content_ao3dtr0207</content></entry></data>

2022-06-23 22:40:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Jun 2022 05:40:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-23 22:40:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1c345462-3fdd-4187-b9ed-bb0d8cde0a92</value></item-id></result>

2022-06-23 22:40:08 | contains: true

2022-06-23 22:40:13 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-23 22:40:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-06-23 22:40:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-23 22:40:13 | [Mutex] waiting for: [user_regularbdajwm0203@test-domain.com:message:received:content_ao3dtr0207]

2022-06-23 22:40:13 | [Mutex] received everything.

2022-06-23 22:40:13 | [Mutex] isItemNotified: user_regularbdajwm0203@test-domain.com:message:received:content_ao3dtr0207 :: true

2022-06-23 22:40:13 |


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


2022-06-23 22:40:13 | [Mutex] received everything.

2022-06-23 22:40:13 | [Mutex] isItemNotified: node_l6a19e0204:subscribe_node:success :: true

2022-06-23 22:40:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-23 22:40:13 | command: <data><node>node_l6a19e0204</node><expire-at>2022-06-24T05:40:18Z</expire-at><entry><content>content_hxh71i0208</content></entry></data>

2022-06-23 22:40:13 | target: http://localhost:8088

2022-06-23 22:40:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-23 22:40:13 | entity: <data><node>node_l6a19e0204</node><expire-at>2022-06-24T05:40:18Z</expire-at><entry><content>content_hxh71i0208</content></entry></data>

2022-06-23 22:40:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Jun 2022 05:40:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-23 22:40:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>df9a2ac0-674e-4e7f-8e7c-e62f60c25034</value></item-id></result>

2022-06-23 22:40:13 | contains: true

2022-06-23 22:40:21 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-23 22:40:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-06-23 22:40:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-23 22:40:21 | [Mutex] waiting for: [user_regularbdajwm0203@test-domain.com:message:received:content_hxh71i0208]

2022-06-23 22:40:21 | [Mutex] waiting for: [user_regularbdajwm0203@test-domain.com:message:received:content_hxh71i0208]

2022-06-23 22:40:36 | [Mutex] timeout. Not received [user_regularbdajwm0203@test-domain.com:message:received:content_hxh71i0208]

2022-06-23 22:40:36 | [Mutex] received everything.

2022-06-23 22:40:36 | [Mutex] isItemNotified: user_regularbdajwm0203@test-domain.com:message:received:content_hxh71i0208 :: false

2022-06-23 22:40:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hxh71i0208 :: true