Generated by TestNG with ReportNG at 21:44 PST on Wednesday 15 February 2023
root@ed1b7dd8a1b3 / 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.518s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.650s
2023-02-15 21:59:06 |

2023-02-15 21:59:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-02-15 21:59:06 | ------------------------------------

2023-02-15 21:59:06 | [Mutex] isItemNotified: node_vmj9cr0204:exists :: false

2023-02-15 21:59:06 | [Mutex] waiting for: [node_vmj9cr0204:create_node]

2023-02-15 21:59:06 | [Mutex] received everything.

2023-02-15 21:59:06 | [Mutex] isItemNotified: node_vmj9cr0204:create_node:success :: true

2023-02-15 21:59:06 | [Mutex] waiting for: [node_vmj9cr0204:subscribe_node]

2023-02-15 21:59:06 | [Mutex] received everything.

2023-02-15 21:59:06 | [Mutex] isItemNotified: node_vmj9cr0204:subscribe_node:success :: true

2023-02-15 21:59:06 |


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


2023-02-15 21:59:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-15 21:59:06 | command: <data><node>node_vmj9cr0204</node><entry><content>content_a78y1p0205</content></entry></data>

2023-02-15 21:59:06 | target: http://localhost:8088

2023-02-15 21:59:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-15 21:59:06 | entity: <data><node>node_vmj9cr0204</node><entry><content>content_a78y1p0205</content></entry></data>

2023-02-15 21:59:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:59:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-15 21:59:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e4c7ccc2-ca5d-435a-b8b4-07d4893a9df9</value></item-id></result>

2023-02-15 21:59:06 | contains: true

2023-02-15 21:59:06 | [Mutex] waiting for: [user_regularpoxjpd0203@test-domain.com:message:received:content_a78y1p0205]

2023-02-15 21:59:06 | [Mutex] received everything.

2023-02-15 21:59:06 | [Mutex] isItemNotified: user_regularpoxjpd0203@test-domain.com:message:received:content_a78y1p0205 :: true

2023-02-15 21:59:06 |


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


2023-02-15 21:59:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-15 21:59:06 | command: <data><node>node_vmj9cr0204</node><expire-at>2023-02-16T05:59:01Z</expire-at><entry><content>content_glbbsg0206</content></entry></data>

2023-02-15 21:59:06 | target: http://localhost:8088

2023-02-15 21:59:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-15 21:59:06 | entity: <data><node>node_vmj9cr0204</node><expire-at>2023-02-16T05:59:01Z</expire-at><entry><content>content_glbbsg0206</content></entry></data>

2023-02-15 21:59:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:59:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-15 21:59:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7a0c2ac5-1fcc-4209-895a-1304b534e3ce</value></item-id></result>

2023-02-15 21:59:06 | contains: true

2023-02-15 21:59:06 | [Mutex] waiting for: [user_regularpoxjpd0203@test-domain.com:message:received:content_glbbsg0206]

2023-02-15 21:59:21 | [Mutex] timeout. Not received [user_regularpoxjpd0203@test-domain.com:message:received:content_glbbsg0206]

2023-02-15 21:59:21 | [Mutex] isItemNotified: user_regularpoxjpd0203@test-domain.com:message:received:content_glbbsg0206 :: false

2023-02-15 21:59:21 |


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


2023-02-15 21:59:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-15 21:59:21 | command: <data><node>node_vmj9cr0204</node><entry><content>content_fgiiva0207</content></entry></data>

2023-02-15 21:59:21 | target: http://localhost:8088

2023-02-15 21:59:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-15 21:59:21 | entity: <data><node>node_vmj9cr0204</node><entry><content>content_fgiiva0207</content></entry></data>

2023-02-15 21:59:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:59:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-15 21:59:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>300f933d-eb92-4dc4-ac66-0681954c21d3</value></item-id></result>

2023-02-15 21:59:21 | contains: true

2023-02-15 21:59:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-15 21:59:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-02-15 21:59:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-15 21:59:26 | [Mutex] waiting for: [user_regularpoxjpd0203@test-domain.com:message:received:content_fgiiva0207]

2023-02-15 21:59:27 | [Mutex] waiting for: [user_regularpoxjpd0203@test-domain.com:message:received:content_fgiiva0207]

2023-02-15 21:59:27 | [Mutex] received everything.

2023-02-15 21:59:27 | [Mutex] isItemNotified: user_regularpoxjpd0203@test-domain.com:message:received:content_fgiiva0207 :: true

2023-02-15 21:59:27 |


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


2023-02-15 21:59:27 | [Mutex] received everything.

2023-02-15 21:59:27 | [Mutex] isItemNotified: node_vmj9cr0204:subscribe_node:success :: true

2023-02-15 21:59:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-15 21:59:27 | command: <data><node>node_vmj9cr0204</node><expire-at>2023-02-16T05:59:32Z</expire-at><entry><content>content_du6u4p0208</content></entry></data>

2023-02-15 21:59:27 | target: http://localhost:8088

2023-02-15 21:59:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-15 21:59:27 | entity: <data><node>node_vmj9cr0204</node><expire-at>2023-02-16T05:59:32Z</expire-at><entry><content>content_du6u4p0208</content></entry></data>

2023-02-15 21:59:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:59:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-15 21:59:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8ede9505-2bef-4ea9-b7cb-74c40182cb8e</value></item-id></result>

2023-02-15 21:59:27 | contains: true

2023-02-15 21:59:35 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-15 21:59:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-02-15 21:59:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-15 21:59:35 | [Mutex] waiting for: [user_regularpoxjpd0203@test-domain.com:message:received:content_du6u4p0208]

2023-02-15 21:59:50 | [Mutex] timeout. Not received [user_regularpoxjpd0203@test-domain.com:message:received:content_du6u4p0208]

2023-02-15 21:59:50 | [Mutex] received everything.

2023-02-15 21:59:50 | [Mutex] isItemNotified: user_regularpoxjpd0203@test-domain.com:message:received:content_du6u4p0208 :: false

2023-02-15 21:59:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_du6u4p0208 :: true