Generated by TestNG with ReportNG at 07:21 PST on Monday 06 March 2023
root@f9c07ffec79b / 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.757s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.637s
2023-03-06 07:36:27 |

2023-03-06 07:36:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-06 07:36:27 | ------------------------------------

2023-03-06 07:36:27 | [Mutex] isItemNotified: node_qm3gym0208:exists :: false

2023-03-06 07:36:27 | [Mutex] waiting for: [node_qm3gym0208:create_node]

2023-03-06 07:36:27 | [Mutex] received everything.

2023-03-06 07:36:27 | [Mutex] isItemNotified: node_qm3gym0208:create_node:success :: true

2023-03-06 07:36:27 | [Mutex] waiting for: [node_qm3gym0208:subscribe_node]

2023-03-06 07:36:27 | [Mutex] received everything.

2023-03-06 07:36:27 | [Mutex] isItemNotified: node_qm3gym0208:subscribe_node:success :: true

2023-03-06 07:36:27 |


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


2023-03-06 07:36:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 07:36:27 | command: <data><node>node_qm3gym0208</node><entry><content>content_e1147m0209</content></entry></data>

2023-03-06 07:36:27 | target: http://localhost:8088

2023-03-06 07:36:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-06 07:36:27 | entity: <data><node>node_qm3gym0208</node><entry><content>content_e1147m0209</content></entry></data>

2023-03-06 07:36:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 15:36:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 07:36:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>799ce7c2-a456-48bc-89b4-96b3dd51baf6</value></item-id></result>

2023-03-06 07:36:27 | contains: true

2023-03-06 07:36:27 | [Mutex] received everything.

2023-03-06 07:36:27 | [Mutex] isItemNotified: user_regular5u77940207@test-domain.com:message:received:content_e1147m0209 :: true

2023-03-06 07:36:27 |


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


2023-03-06 07:36:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 07:36:27 | command: <data><node>node_qm3gym0208</node><expire-at>2023-03-06T15:36:22Z</expire-at><entry><content>content_z5utl70210</content></entry></data>

2023-03-06 07:36:27 | target: http://localhost:8088

2023-03-06 07:36:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-06 07:36:27 | entity: <data><node>node_qm3gym0208</node><expire-at>2023-03-06T15:36:22Z</expire-at><entry><content>content_z5utl70210</content></entry></data>

2023-03-06 07:36:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 15:36:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 07:36:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>67334025-7260-4ed2-a423-31ffd4dd1693</value></item-id></result>

2023-03-06 07:36:27 | contains: true

2023-03-06 07:36:27 | [Mutex] waiting for: [user_regular5u77940207@test-domain.com:message:received:content_z5utl70210]

2023-03-06 07:36:42 | [Mutex] timeout. Not received [user_regular5u77940207@test-domain.com:message:received:content_z5utl70210]

2023-03-06 07:36:42 | [Mutex] isItemNotified: user_regular5u77940207@test-domain.com:message:received:content_z5utl70210 :: false

2023-03-06 07:36:42 |


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


2023-03-06 07:36:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 07:36:42 | command: <data><node>node_qm3gym0208</node><entry><content>content_qt3yxa0211</content></entry></data>

2023-03-06 07:36:42 | target: http://localhost:8088

2023-03-06 07:36:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-06 07:36:42 | entity: <data><node>node_qm3gym0208</node><entry><content>content_qt3yxa0211</content></entry></data>

2023-03-06 07:36:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 15:36:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 07:36:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1ea1b5f0-5d95-4d59-a33b-586f0f3eef7b</value></item-id></result>

2023-03-06 07:36:42 | contains: true

2023-03-06 07:36:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-06 07:36:47 | [Mutex] waiting for: [user_regular5u77940207@test-domain.com:message:received:content_qt3yxa0211]

2023-03-06 07:36:47 | [Mutex] waiting for: [user_regular5u77940207@test-domain.com:message:received:content_qt3yxa0211]

2023-03-06 07:36:47 | [Mutex] received everything.

2023-03-06 07:36:47 | [Mutex] isItemNotified: user_regular5u77940207@test-domain.com:message:received:content_qt3yxa0211 :: true

2023-03-06 07:36:47 |


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


2023-03-06 07:36:47 | [Mutex] received everything.

2023-03-06 07:36:47 | [Mutex] isItemNotified: node_qm3gym0208:subscribe_node:success :: true

2023-03-06 07:36:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 07:36:48 | command: <data><node>node_qm3gym0208</node><expire-at>2023-03-06T15:36:53Z</expire-at><entry><content>content_jr0j8k0212</content></entry></data>

2023-03-06 07:36:48 | target: http://localhost:8088

2023-03-06 07:36:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-06 07:36:48 | entity: <data><node>node_qm3gym0208</node><expire-at>2023-03-06T15:36:53Z</expire-at><entry><content>content_jr0j8k0212</content></entry></data>

2023-03-06 07:36:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 15:36:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 07:36:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>40c7ebef-dbac-4780-a20e-61214cf6a60a</value></item-id></result>

2023-03-06 07:36:48 | contains: true

2023-03-06 07:36:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-06 07:36:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-06 07:36:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-06 07:36:56 | [Mutex] waiting for: [user_regular5u77940207@test-domain.com:message:received:content_jr0j8k0212]

2023-03-06 07:36:56 | [Mutex] waiting for: [user_regular5u77940207@test-domain.com:message:received:content_jr0j8k0212]

2023-03-06 07:37:11 | [Mutex] timeout. Not received [user_regular5u77940207@test-domain.com:message:received:content_jr0j8k0212]

2023-03-06 07:37:11 | [Mutex] received everything.

2023-03-06 07:37:11 | [Mutex] isItemNotified: user_regular5u77940207@test-domain.com:message:received:content_jr0j8k0212 :: false

2023-03-06 07:37:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jr0j8k0212 :: true