Generated by TestNG with ReportNG at 21:39 PDT on Wednesday 05 July 2023
root@1512af24e4a5 / Java 17.0.6 (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.613s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.556s
2023-07-05 21:53:46 |

2023-07-05 21:53:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-05 21:53:46 | ------------------------------------

2023-07-05 21:53:46 | [Mutex] isItemNotified: node_43vnqu0208:exists :: false

2023-07-05 21:53:46 | [Mutex] waiting for: [node_43vnqu0208:create_node]

2023-07-05 21:53:46 | [Mutex] waiting for: [node_43vnqu0208:create_node]

2023-07-05 21:53:46 | [Mutex] received everything.

2023-07-05 21:53:46 | [Mutex] isItemNotified: node_43vnqu0208:create_node:success :: true

2023-07-05 21:53:46 | [Mutex] waiting for: [node_43vnqu0208:subscribe_node]

2023-07-05 21:53:46 | [Mutex] waiting for: [node_43vnqu0208:subscribe_node]

2023-07-05 21:53:46 | [Mutex] received everything.

2023-07-05 21:53:46 | [Mutex] isItemNotified: node_43vnqu0208:subscribe_node:success :: true

2023-07-05 21:53:46 |


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


2023-07-05 21:53:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 21:53:46 | command: <data><node>node_43vnqu0208</node><entry><content>content_cya8mk0209</content></entry></data>

2023-07-05 21:53:46 | target: http://localhost:8088

2023-07-05 21:53:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-05 21:53:46 | entity: <data><node>node_43vnqu0208</node><entry><content>content_cya8mk0209</content></entry></data>

2023-07-05 21:53:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:53:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 21:53:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>768883fe-7c5e-4c71-88b6-3f05c83c080c</value></item-id></result>

2023-07-05 21:53:46 | contains: true

2023-07-05 21:53:46 | [Mutex] waiting for: [user_regularmzu65x0207@test-domain.com:message:received:content_cya8mk0209]

2023-07-05 21:53:46 | [Mutex] received everything.

2023-07-05 21:53:46 | [Mutex] isItemNotified: user_regularmzu65x0207@test-domain.com:message:received:content_cya8mk0209 :: true

2023-07-05 21:53:46 |


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


2023-07-05 21:53:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 21:53:46 | command: <data><node>node_43vnqu0208</node><expire-at>2023-07-06T04:53:41Z</expire-at><entry><content>content_bcbuj0210</content></entry></data>

2023-07-05 21:53:46 | target: http://localhost:8088

2023-07-05 21:53:46 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2023-07-05 21:53:46 | entity: <data><node>node_43vnqu0208</node><expire-at>2023-07-06T04:53:41Z</expire-at><entry><content>content_bcbuj0210</content></entry></data>

2023-07-05 21:53:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:53:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 21:53:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6b26adbb-bb00-446a-aef7-1a769544f8d6</value></item-id></result>

2023-07-05 21:53:46 | contains: true

2023-07-05 21:53:46 | [Mutex] waiting for: [user_regularmzu65x0207@test-domain.com:message:received:content_bcbuj0210]

2023-07-05 21:54:01 | [Mutex] timeout. Not received [user_regularmzu65x0207@test-domain.com:message:received:content_bcbuj0210]

2023-07-05 21:54:01 | [Mutex] isItemNotified: user_regularmzu65x0207@test-domain.com:message:received:content_bcbuj0210 :: false

2023-07-05 21:54:01 |


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


2023-07-05 21:54:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 21:54:01 | command: <data><node>node_43vnqu0208</node><entry><content>content_63b92t0211</content></entry></data>

2023-07-05 21:54:01 | target: http://localhost:8088

2023-07-05 21:54:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-05 21:54:01 | entity: <data><node>node_43vnqu0208</node><entry><content>content_63b92t0211</content></entry></data>

2023-07-05 21:54:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:54:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 21:54:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bc251998-7428-427a-9c94-5063c9e5e37b</value></item-id></result>

2023-07-05 21:54:01 | contains: true

2023-07-05 21:54:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-05 21:54:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-07-05 21:54:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-05 21:54:06 | [Mutex] waiting for: [user_regularmzu65x0207@test-domain.com:message:received:content_63b92t0211]

2023-07-05 21:54:06 | [Mutex] waiting for: [user_regularmzu65x0207@test-domain.com:message:received:content_63b92t0211]

2023-07-05 21:54:06 | [Mutex] received everything.

2023-07-05 21:54:06 | [Mutex] isItemNotified: user_regularmzu65x0207@test-domain.com:message:received:content_63b92t0211 :: true

2023-07-05 21:54:06 |


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


2023-07-05 21:54:06 | [Mutex] received everything.

2023-07-05 21:54:06 | [Mutex] isItemNotified: node_43vnqu0208:subscribe_node:success :: true

2023-07-05 21:54:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 21:54:06 | command: <data><node>node_43vnqu0208</node><expire-at>2023-07-06T04:54:11Z</expire-at><entry><content>content_ceonlb0212</content></entry></data>

2023-07-05 21:54:06 | target: http://localhost:8088

2023-07-05 21:54:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-05 21:54:06 | entity: <data><node>node_43vnqu0208</node><expire-at>2023-07-06T04:54:11Z</expire-at><entry><content>content_ceonlb0212</content></entry></data>

2023-07-05 21:54:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:54:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 21:54:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4c764526-b03e-45b7-98c7-33bb271a40e3</value></item-id></result>

2023-07-05 21:54:06 | contains: true

2023-07-05 21:54:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-05 21:54:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-07-05 21:54:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-05 21:54:14 | [Mutex] waiting for: [user_regularmzu65x0207@test-domain.com:message:received:content_ceonlb0212]

2023-07-05 21:54:29 | [Mutex] timeout. Not received [user_regularmzu65x0207@test-domain.com:message:received:content_ceonlb0212]

2023-07-05 21:54:29 | [Mutex] received everything.

2023-07-05 21:54:29 | [Mutex] isItemNotified: user_regularmzu65x0207@test-domain.com:message:received:content_ceonlb0212 :: false

2023-07-05 21:54:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ceonlb0212 :: true