Generated by TestNG with ReportNG at 22:02 PST on Sunday 05 November 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.564s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.657s
2023-11-05 22:17:02 |

2023-11-05 22:17:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-11-05 22:17:02 | ------------------------------------

2023-11-05 22:17:02 | [Mutex] isItemNotified: node_628osx0208:exists :: false

2023-11-05 22:17:02 | [Mutex] waiting for: [node_628osx0208:create_node]

2023-11-05 22:17:02 | [Mutex] waiting for: [node_628osx0208:create_node]

2023-11-05 22:17:02 | [Mutex] received everything.

2023-11-05 22:17:02 | [Mutex] isItemNotified: node_628osx0208:create_node:success :: true

2023-11-05 22:17:02 | [Mutex] waiting for: [node_628osx0208:subscribe_node]

2023-11-05 22:17:02 | [Mutex] waiting for: [node_628osx0208:subscribe_node]

2023-11-05 22:17:02 | [Mutex] received everything.

2023-11-05 22:17:02 | [Mutex] isItemNotified: node_628osx0208:subscribe_node:success :: true

2023-11-05 22:17:02 |


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


2023-11-05 22:17:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 22:17:02 | command: <data><node>node_628osx0208</node><entry><content>content_z2h3we0209</content></entry></data>

2023-11-05 22:17:02 | target: http://localhost:8088

2023-11-05 22:17:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-11-05 22:17:02 | entity: <data><node>node_628osx0208</node><entry><content>content_z2h3we0209</content></entry></data>

2023-11-05 22:17:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 06:17:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 22:17:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0cebe67b-0919-4d9c-af49-e3bf1c8b1fde</value></item-id></result>

2023-11-05 22:17:02 | contains: true

2023-11-05 22:17:02 | [Mutex] received everything.

2023-11-05 22:17:02 | [Mutex] isItemNotified: user_regularahq0kk0207@test-domain.com:message:received:content_z2h3we0209 :: true

2023-11-05 22:17:02 |


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


2023-11-05 22:17:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 22:17:02 | command: <data><node>node_628osx0208</node><expire-at>2023-11-06T06:16:57Z</expire-at><entry><content>content_lqegxd0210</content></entry></data>

2023-11-05 22:17:02 | target: http://localhost:8088

2023-11-05 22:17:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-11-05 22:17:02 | entity: <data><node>node_628osx0208</node><expire-at>2023-11-06T06:16:57Z</expire-at><entry><content>content_lqegxd0210</content></entry></data>

2023-11-05 22:17:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 06:17:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 22:17:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5fb8a88e-5ae1-4df6-b25d-d9fd56989aeb</value></item-id></result>

2023-11-05 22:17:02 | contains: true

2023-11-05 22:17:02 | [Mutex] waiting for: [user_regularahq0kk0207@test-domain.com:message:received:content_lqegxd0210]

2023-11-05 22:17:17 | [Mutex] timeout. Not received [user_regularahq0kk0207@test-domain.com:message:received:content_lqegxd0210]

2023-11-05 22:17:17 | [Mutex] isItemNotified: user_regularahq0kk0207@test-domain.com:message:received:content_lqegxd0210 :: false

2023-11-05 22:17:17 |


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


2023-11-05 22:17:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 22:17:17 | command: <data><node>node_628osx0208</node><entry><content>content_40ibt40211</content></entry></data>

2023-11-05 22:17:17 | target: http://localhost:8088

2023-11-05 22:17:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-11-05 22:17:17 | entity: <data><node>node_628osx0208</node><entry><content>content_40ibt40211</content></entry></data>

2023-11-05 22:17:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 06:17:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 22:17:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>36df4a28-b929-4fcb-92e4-9c7ef0b621da</value></item-id></result>

2023-11-05 22:17:17 | contains: true

2023-11-05 22:17:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-11-05 22:17:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-11-05 22:17:22 | [Mutex] waiting for: [user_regularahq0kk0207@test-domain.com:message:received:content_40ibt40211]

2023-11-05 22:17:22 | [Mutex] waiting for: [user_regularahq0kk0207@test-domain.com:message:received:content_40ibt40211]

2023-11-05 22:17:22 | [Mutex] received everything.

2023-11-05 22:17:22 | [Mutex] isItemNotified: user_regularahq0kk0207@test-domain.com:message:received:content_40ibt40211 :: true

2023-11-05 22:17:22 |


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


2023-11-05 22:17:22 | [Mutex] received everything.

2023-11-05 22:17:22 | [Mutex] isItemNotified: node_628osx0208:subscribe_node:success :: true

2023-11-05 22:17:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 22:17:23 | command: <data><node>node_628osx0208</node><expire-at>2023-11-06T06:17:28Z</expire-at><entry><content>content_tcouy60212</content></entry></data>

2023-11-05 22:17:23 | target: http://localhost:8088

2023-11-05 22:17:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-11-05 22:17:23 | entity: <data><node>node_628osx0208</node><expire-at>2023-11-06T06:17:28Z</expire-at><entry><content>content_tcouy60212</content></entry></data>

2023-11-05 22:17:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 06:17:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 22:17:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2be6d814-dae1-4580-9e68-b838db55d8af</value></item-id></result>

2023-11-05 22:17:23 | contains: true

2023-11-05 22:17:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-11-05 22:17:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-11-05 22:17:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-11-05 22:17:31 | [Mutex] waiting for: [user_regularahq0kk0207@test-domain.com:message:received:content_tcouy60212]

2023-11-05 22:17:46 | [Mutex] timeout. Not received [user_regularahq0kk0207@test-domain.com:message:received:content_tcouy60212]

2023-11-05 22:17:46 | [Mutex] received everything.

2023-11-05 22:17:46 | [Mutex] isItemNotified: user_regularahq0kk0207@test-domain.com:message:received:content_tcouy60212 :: false

2023-11-05 22:17:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tcouy60212 :: true