Generated by TestNG with ReportNG at 22:44 PDT on Thursday 04 May 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.377s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.590s
2023-05-04 22:59:35 |

2023-05-04 22:59:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-05-04 22:59:35 | ------------------------------------

2023-05-04 22:59:35 | [Mutex] isItemNotified: node_2we9wv0208:exists :: false

2023-05-04 22:59:35 | [Mutex] waiting for: [node_2we9wv0208:create_node]

2023-05-04 22:59:35 | [Mutex] received everything.

2023-05-04 22:59:35 | [Mutex] isItemNotified: node_2we9wv0208:create_node:success :: true

2023-05-04 22:59:35 | [Mutex] waiting for: [node_2we9wv0208:subscribe_node]

2023-05-04 22:59:35 | [Mutex] waiting for: [node_2we9wv0208:subscribe_node]

2023-05-04 22:59:35 | [Mutex] received everything.

2023-05-04 22:59:35 | [Mutex] isItemNotified: node_2we9wv0208:subscribe_node:success :: true

2023-05-04 22:59:35 |


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


2023-05-04 22:59:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-04 22:59:35 | command: <data><node>node_2we9wv0208</node><entry><content>content_k7ed020209</content></entry></data>

2023-05-04 22:59:35 | target: http://localhost:8088

2023-05-04 22:59:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-04 22:59:35 | entity: <data><node>node_2we9wv0208</node><entry><content>content_k7ed020209</content></entry></data>

2023-05-04 22:59:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:59:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-04 22:59:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1a29f99d-2dc8-4108-bc53-ad808266cda2</value></item-id></result>

2023-05-04 22:59:35 | contains: true

2023-05-04 22:59:35 | [Mutex] waiting for: [user_regular9xxtei0207@test-domain.com:message:received:content_k7ed020209]

2023-05-04 22:59:35 | [Mutex] received everything.

2023-05-04 22:59:35 | [Mutex] isItemNotified: user_regular9xxtei0207@test-domain.com:message:received:content_k7ed020209 :: true

2023-05-04 22:59:35 |


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


2023-05-04 22:59:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-04 22:59:35 | command: <data><node>node_2we9wv0208</node><expire-at>2023-05-05T05:59:30Z</expire-at><entry><content>content_r81lsf0210</content></entry></data>

2023-05-04 22:59:35 | target: http://localhost:8088

2023-05-04 22:59:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-04 22:59:35 | entity: <data><node>node_2we9wv0208</node><expire-at>2023-05-05T05:59:30Z</expire-at><entry><content>content_r81lsf0210</content></entry></data>

2023-05-04 22:59:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:59:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-04 22:59:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>facfa7a1-56a6-479b-a39f-8661bf500e9e</value></item-id></result>

2023-05-04 22:59:35 | contains: true

2023-05-04 22:59:35 | [Mutex] waiting for: [user_regular9xxtei0207@test-domain.com:message:received:content_r81lsf0210]

2023-05-04 22:59:50 | [Mutex] timeout. Not received [user_regular9xxtei0207@test-domain.com:message:received:content_r81lsf0210]

2023-05-04 22:59:50 | [Mutex] isItemNotified: user_regular9xxtei0207@test-domain.com:message:received:content_r81lsf0210 :: false

2023-05-04 22:59:50 |


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


2023-05-04 22:59:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-04 22:59:50 | command: <data><node>node_2we9wv0208</node><entry><content>content_xlavar0211</content></entry></data>

2023-05-04 22:59:50 | target: http://localhost:8088

2023-05-04 22:59:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-04 22:59:50 | entity: <data><node>node_2we9wv0208</node><entry><content>content_xlavar0211</content></entry></data>

2023-05-04 22:59:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:59:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-04 22:59:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6cdd02d8-c5e0-4b1f-8016-f93ae1e372ba</value></item-id></result>

2023-05-04 22:59:50 | contains: true

2023-05-04 22:59:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-05-04 22:59:55 | [Mutex] received everything.

2023-05-04 22:59:55 | [Mutex] isItemNotified: user_regular9xxtei0207@test-domain.com:message:received:content_xlavar0211 :: true

2023-05-04 22:59:55 |


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


2023-05-04 22:59:55 | [Mutex] received everything.

2023-05-04 22:59:55 | [Mutex] isItemNotified: node_2we9wv0208:subscribe_node:success :: true

2023-05-04 22:59:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-04 22:59:55 | command: <data><node>node_2we9wv0208</node><expire-at>2023-05-05T06:00:00Z</expire-at><entry><content>content_qm907g0212</content></entry></data>

2023-05-04 22:59:55 | target: http://localhost:8088

2023-05-04 22:59:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-04 22:59:55 | entity: <data><node>node_2we9wv0208</node><expire-at>2023-05-05T06:00:00Z</expire-at><entry><content>content_qm907g0212</content></entry></data>

2023-05-04 22:59:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:59:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-04 22:59:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>59d328a0-e850-43f7-8f81-d8aa22233bf7</value></item-id></result>

2023-05-04 22:59:55 | contains: true

2023-05-04 23:00:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-05-04 23:00:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-05-04 23:00:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-05-04 23:00:03 | [Mutex] waiting for: [user_regular9xxtei0207@test-domain.com:message:received:content_qm907g0212]

2023-05-04 23:00:03 | [Mutex] waiting for: [user_regular9xxtei0207@test-domain.com:message:received:content_qm907g0212]

2023-05-04 23:00:18 | [Mutex] timeout. Not received [user_regular9xxtei0207@test-domain.com:message:received:content_qm907g0212]

2023-05-04 23:00:18 | [Mutex] received everything.

2023-05-04 23:00:18 | [Mutex] isItemNotified: user_regular9xxtei0207@test-domain.com:message:received:content_qm907g0212 :: false

2023-05-04 23:00:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qm907g0212 :: true