Generated by TestNG with ReportNG at 22:15 PDT on Wednesday 29 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.731s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.613s
2023-03-29 22:30:06 |

2023-03-29 22:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-29 22:30:06 | ------------------------------------

2023-03-29 22:30:06 | [Mutex] isItemNotified: node_otazvi0208:exists :: false

2023-03-29 22:30:06 | [Mutex] waiting for: [node_otazvi0208:create_node]

2023-03-29 22:30:06 | [Mutex] received everything.

2023-03-29 22:30:06 | [Mutex] isItemNotified: node_otazvi0208:create_node:success :: true

2023-03-29 22:30:06 | [Mutex] waiting for: [node_otazvi0208:subscribe_node]

2023-03-29 22:30:06 | [Mutex] waiting for: [node_otazvi0208:subscribe_node]

2023-03-29 22:30:06 | [Mutex] received everything.

2023-03-29 22:30:06 | [Mutex] isItemNotified: node_otazvi0208:subscribe_node:success :: true

2023-03-29 22:30:06 |


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


2023-03-29 22:30:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 22:30:06 | command: <data><node>node_otazvi0208</node><entry><content>content_rz68ns0209</content></entry></data>

2023-03-29 22:30:06 | target: http://localhost:8088

2023-03-29 22:30:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-29 22:30:06 | entity: <data><node>node_otazvi0208</node><entry><content>content_rz68ns0209</content></entry></data>

2023-03-29 22:30:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 05:30:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 22:30:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e3171346-b9f8-428c-80e0-f7ba97e08e53</value></item-id></result>

2023-03-29 22:30:06 | contains: true

2023-03-29 22:30:06 | [Mutex] waiting for: [user_regularqctnpw0207@test-domain.com:message:received:content_rz68ns0209]

2023-03-29 22:30:06 | [Mutex] received everything.

2023-03-29 22:30:06 | [Mutex] isItemNotified: user_regularqctnpw0207@test-domain.com:message:received:content_rz68ns0209 :: true

2023-03-29 22:30:06 |


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


2023-03-29 22:30:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 22:30:06 | command: <data><node>node_otazvi0208</node><expire-at>2023-03-30T05:30:01Z</expire-at><entry><content>content_79xjhj0210</content></entry></data>

2023-03-29 22:30:06 | target: http://localhost:8088

2023-03-29 22:30:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-29 22:30:06 | entity: <data><node>node_otazvi0208</node><expire-at>2023-03-30T05:30:01Z</expire-at><entry><content>content_79xjhj0210</content></entry></data>

2023-03-29 22:30:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 05:30:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 22:30:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b30ee3ef-5fc0-42bc-86f5-e835613b0c0f</value></item-id></result>

2023-03-29 22:30:06 | contains: true

2023-03-29 22:30:06 | [Mutex] waiting for: [user_regularqctnpw0207@test-domain.com:message:received:content_79xjhj0210]

2023-03-29 22:30:21 | [Mutex] timeout. Not received [user_regularqctnpw0207@test-domain.com:message:received:content_79xjhj0210]

2023-03-29 22:30:21 | [Mutex] isItemNotified: user_regularqctnpw0207@test-domain.com:message:received:content_79xjhj0210 :: false

2023-03-29 22:30:21 |


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


2023-03-29 22:30:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 22:30:21 | command: <data><node>node_otazvi0208</node><entry><content>content_6r3rth0211</content></entry></data>

2023-03-29 22:30:21 | target: http://localhost:8088

2023-03-29 22:30:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-29 22:30:21 | entity: <data><node>node_otazvi0208</node><entry><content>content_6r3rth0211</content></entry></data>

2023-03-29 22:30:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 05:30:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 22:30:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0be37d84-5bc2-4ed7-b028-545bb7f474f1</value></item-id></result>

2023-03-29 22:30:21 | contains: true

2023-03-29 22:30:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-03-29 22:30:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-29 22:30:26 | [Mutex] waiting for: [user_regularqctnpw0207@test-domain.com:message:received:content_6r3rth0211]

2023-03-29 22:30:26 | [Mutex] waiting for: [user_regularqctnpw0207@test-domain.com:message:received:content_6r3rth0211]

2023-03-29 22:30:26 | [Mutex] received everything.

2023-03-29 22:30:26 | [Mutex] isItemNotified: user_regularqctnpw0207@test-domain.com:message:received:content_6r3rth0211 :: true

2023-03-29 22:30:26 |


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


2023-03-29 22:30:26 | [Mutex] received everything.

2023-03-29 22:30:26 | [Mutex] isItemNotified: node_otazvi0208:subscribe_node:success :: true

2023-03-29 22:30:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-29 22:30:26 | command: <data><node>node_otazvi0208</node><expire-at>2023-03-30T05:30:31Z</expire-at><entry><content>content_9r8jfz0212</content></entry></data>

2023-03-29 22:30:26 | target: http://localhost:8088

2023-03-29 22:30:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-29 22:30:26 | entity: <data><node>node_otazvi0208</node><expire-at>2023-03-30T05:30:31Z</expire-at><entry><content>content_9r8jfz0212</content></entry></data>

2023-03-29 22:30:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 05:30:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-29 22:30:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4c7ac39a-87e2-43ff-b71d-a79a3abec462</value></item-id></result>

2023-03-29 22:30:26 | contains: true

2023-03-29 22:30:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-29 22:30:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-29 22:30:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-29 22:30:34 | [Mutex] waiting for: [user_regularqctnpw0207@test-domain.com:message:received:content_9r8jfz0212]

2023-03-29 22:30:34 | [Mutex] waiting for: [user_regularqctnpw0207@test-domain.com:message:received:content_9r8jfz0212]

2023-03-29 22:30:34 | [Mutex] waiting for: [user_regularqctnpw0207@test-domain.com:message:received:content_9r8jfz0212]

2023-03-29 22:30:49 | [Mutex] timeout. Not received [user_regularqctnpw0207@test-domain.com:message:received:content_9r8jfz0212]

2023-03-29 22:30:49 | [Mutex] received everything.

2023-03-29 22:30:49 | [Mutex] isItemNotified: user_regularqctnpw0207@test-domain.com:message:received:content_9r8jfz0212 :: false

2023-03-29 22:30:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9r8jfz0212 :: true