Generated by TestNG with ReportNG at 22:46 PDT on Wednesday 24 August 2022
root@7c41cec37518 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.745s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.621s
2022-08-24 23:01:06 |

2022-08-24 23:01:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-24 23:01:06 | ------------------------------------

2022-08-24 23:01:06 | [Mutex] isItemNotified: node_dxc7qr0204:exists :: false

2022-08-24 23:01:06 | [Mutex] waiting for: [node_dxc7qr0204:create_node]

2022-08-24 23:01:06 | [Mutex] waiting for: [node_dxc7qr0204:create_node]

2022-08-24 23:01:06 | [Mutex] received everything.

2022-08-24 23:01:06 | [Mutex] isItemNotified: node_dxc7qr0204:create_node:success :: true

2022-08-24 23:01:06 | [Mutex] waiting for: [node_dxc7qr0204:subscribe_node]

2022-08-24 23:01:06 | [Mutex] waiting for: [node_dxc7qr0204:subscribe_node]

2022-08-24 23:01:06 | [Mutex] received everything.

2022-08-24 23:01:06 | [Mutex] isItemNotified: node_dxc7qr0204:subscribe_node:success :: true

2022-08-24 23:01:06 |


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


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

2022-08-24 23:01:06 | command: <data><node>node_dxc7qr0204</node><entry><content>content_cywfla0205</content></entry></data>

2022-08-24 23:01:06 | target: http://localhost:8088

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

2022-08-24 23:01:06 | entity: <data><node>node_dxc7qr0204</node><entry><content>content_cywfla0205</content></entry></data>

2022-08-24 23:01:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Aug 2022 06:01:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-24 23:01:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0eae0a38-d5e0-441f-b92c-e518bb054abf</value></item-id></result>

2022-08-24 23:01:06 | contains: true

2022-08-24 23:01:06 | [Mutex] waiting for: [user_regularjsujtg0203@test-domain.com:message:received:content_cywfla0205]

2022-08-24 23:01:06 | [Mutex] received everything.

2022-08-24 23:01:06 | [Mutex] isItemNotified: user_regularjsujtg0203@test-domain.com:message:received:content_cywfla0205 :: true

2022-08-24 23:01:06 |


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


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

2022-08-24 23:01:06 | command: <data><node>node_dxc7qr0204</node><expire-at>2022-08-25T06:01:01Z</expire-at><entry><content>content_uoko8l0206</content></entry></data>

2022-08-24 23:01:06 | target: http://localhost:8088

2022-08-24 23:01:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-24 23:01:06 | entity: <data><node>node_dxc7qr0204</node><expire-at>2022-08-25T06:01:01Z</expire-at><entry><content>content_uoko8l0206</content></entry></data>

2022-08-24 23:01:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Aug 2022 06:01:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-24 23:01:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f7ffe552-df9a-4b6f-ba38-d40f6a1f2d70</value></item-id></result>

2022-08-24 23:01:06 | contains: true

2022-08-24 23:01:06 | [Mutex] waiting for: [user_regularjsujtg0203@test-domain.com:message:received:content_uoko8l0206]

2022-08-24 23:01:21 | [Mutex] timeout. Not received [user_regularjsujtg0203@test-domain.com:message:received:content_uoko8l0206]

2022-08-24 23:01:21 | [Mutex] isItemNotified: user_regularjsujtg0203@test-domain.com:message:received:content_uoko8l0206 :: false

2022-08-24 23:01:21 |


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


2022-08-24 23:01:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-24 23:01:21 | command: <data><node>node_dxc7qr0204</node><entry><content>content_pihody0207</content></entry></data>

2022-08-24 23:01:21 | target: http://localhost:8088

2022-08-24 23:01:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-24 23:01:21 | entity: <data><node>node_dxc7qr0204</node><entry><content>content_pihody0207</content></entry></data>

2022-08-24 23:01:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Aug 2022 06:01:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-24 23:01:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>704a8769-3d27-49b8-8d52-709c4eab1fb2</value></item-id></result>

2022-08-24 23:01:21 | contains: true

2022-08-24 23:01:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-24 23:01:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-24 23:01:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-24 23:01:26 | [Mutex] waiting for: [user_regularjsujtg0203@test-domain.com:message:received:content_pihody0207]

2022-08-24 23:01:26 | [Mutex] received everything.

2022-08-24 23:01:26 | [Mutex] isItemNotified: user_regularjsujtg0203@test-domain.com:message:received:content_pihody0207 :: true

2022-08-24 23:01:26 |


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


2022-08-24 23:01:26 | [Mutex] received everything.

2022-08-24 23:01:26 | [Mutex] isItemNotified: node_dxc7qr0204:subscribe_node:success :: true

2022-08-24 23:01:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-24 23:01:26 | command: <data><node>node_dxc7qr0204</node><expire-at>2022-08-25T06:01:31Z</expire-at><entry><content>content_krwfjj0208</content></entry></data>

2022-08-24 23:01:26 | target: http://localhost:8088

2022-08-24 23:01:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-24 23:01:26 | entity: <data><node>node_dxc7qr0204</node><expire-at>2022-08-25T06:01:31Z</expire-at><entry><content>content_krwfjj0208</content></entry></data>

2022-08-24 23:01:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Aug 2022 06:01:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-24 23:01:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d2262dd4-79e6-461a-85e4-f85b2035ab3d</value></item-id></result>

2022-08-24 23:01:26 | contains: true

2022-08-24 23:01:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-24 23:01:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-24 23:01:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-24 23:01:34 | [Mutex] waiting for: [user_regularjsujtg0203@test-domain.com:message:received:content_krwfjj0208]

2022-08-24 23:01:34 | [Mutex] waiting for: [user_regularjsujtg0203@test-domain.com:message:received:content_krwfjj0208]

2022-08-24 23:01:34 | [Mutex] waiting for: [user_regularjsujtg0203@test-domain.com:message:received:content_krwfjj0208]

2022-08-24 23:01:49 | [Mutex] timeout. Not received [user_regularjsujtg0203@test-domain.com:message:received:content_krwfjj0208]

2022-08-24 23:01:49 | [Mutex] received everything.

2022-08-24 23:01:49 | [Mutex] isItemNotified: user_regularjsujtg0203@test-domain.com:message:received:content_krwfjj0208 :: false

2022-08-24 23:01:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_krwfjj0208 :: true