Generated by TestNG with ReportNG at 21:50 PST on Wednesday 16 November 2022
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.996s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.666s
2022-11-16 22:07:11 |

2022-11-16 22:07:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-11-16 22:07:11 | ------------------------------------

2022-11-16 22:07:11 | [Mutex] isItemNotified: node_r5gujd0204:exists :: false

2022-11-16 22:07:11 | [Mutex] waiting for: [node_r5gujd0204:create_node]

2022-11-16 22:07:11 | [Mutex] received everything.

2022-11-16 22:07:11 | [Mutex] isItemNotified: node_r5gujd0204:create_node:success :: true

2022-11-16 22:07:11 | [Mutex] waiting for: [node_r5gujd0204:subscribe_node]

2022-11-16 22:07:11 | [Mutex] received everything.

2022-11-16 22:07:11 | [Mutex] isItemNotified: node_r5gujd0204:subscribe_node:success :: true

2022-11-16 22:07:11 |


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


2022-11-16 22:07:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-16 22:07:11 | command: <data><node>node_r5gujd0204</node><entry><content>content_j5md7h0205</content></entry></data>

2022-11-16 22:07:11 | target: http://localhost:8088

2022-11-16 22:07:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-11-16 22:07:11 | entity: <data><node>node_r5gujd0204</node><entry><content>content_j5md7h0205</content></entry></data>

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

2022-11-16 22:07:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e58a192c-ada9-4671-8d4d-cebd7925961b</value></item-id></result>

2022-11-16 22:07:11 | contains: true

2022-11-16 22:07:11 | [Mutex] received everything.

2022-11-16 22:07:11 | [Mutex] isItemNotified: user_regular5sb5st0203@test-domain.com:message:received:content_j5md7h0205 :: true

2022-11-16 22:07:11 |


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


2022-11-16 22:07:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-16 22:07:11 | command: <data><node>node_r5gujd0204</node><expire-at>2022-11-17T06:07:06Z</expire-at><entry><content>content_y4w19b0206</content></entry></data>

2022-11-16 22:07:11 | target: http://localhost:8088

2022-11-16 22:07:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-11-16 22:07:11 | entity: <data><node>node_r5gujd0204</node><expire-at>2022-11-17T06:07:06Z</expire-at><entry><content>content_y4w19b0206</content></entry></data>

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

2022-11-16 22:07:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1a9d066c-9c4c-4050-85b8-f7d6256454b2</value></item-id></result>

2022-11-16 22:07:11 | contains: true

2022-11-16 22:07:11 | [Mutex] waiting for: [user_regular5sb5st0203@test-domain.com:message:received:content_y4w19b0206]

2022-11-16 22:07:26 | [Mutex] timeout. Not received [user_regular5sb5st0203@test-domain.com:message:received:content_y4w19b0206]

2022-11-16 22:07:26 | [Mutex] isItemNotified: user_regular5sb5st0203@test-domain.com:message:received:content_y4w19b0206 :: false

2022-11-16 22:07:26 |


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


2022-11-16 22:07:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-16 22:07:26 | command: <data><node>node_r5gujd0204</node><entry><content>content_glg1kp0207</content></entry></data>

2022-11-16 22:07:26 | target: http://localhost:8088

2022-11-16 22:07:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-11-16 22:07:26 | entity: <data><node>node_r5gujd0204</node><entry><content>content_glg1kp0207</content></entry></data>

2022-11-16 22:07:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Nov 2022 06:07:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-16 22:07:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b25a2ce0-5d79-4a57-81b9-fd003f0eb144</value></item-id></result>

2022-11-16 22:07:26 | contains: true

2022-11-16 22:07:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-11-16 22:07:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-11-16 22:07:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-11-16 22:07:31 | [Mutex] waiting for: [user_regular5sb5st0203@test-domain.com:message:received:content_glg1kp0207]

2022-11-16 22:07:31 | [Mutex] waiting for: [user_regular5sb5st0203@test-domain.com:message:received:content_glg1kp0207]

2022-11-16 22:07:31 | [Mutex] received everything.

2022-11-16 22:07:31 | [Mutex] isItemNotified: user_regular5sb5st0203@test-domain.com:message:received:content_glg1kp0207 :: true

2022-11-16 22:07:31 |


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


2022-11-16 22:07:31 | [Mutex] received everything.

2022-11-16 22:07:31 | [Mutex] isItemNotified: node_r5gujd0204:subscribe_node:success :: true

2022-11-16 22:07:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-16 22:07:31 | command: <data><node>node_r5gujd0204</node><expire-at>2022-11-17T06:07:36Z</expire-at><entry><content>content_3fqqk60208</content></entry></data>

2022-11-16 22:07:31 | target: http://localhost:8088

2022-11-16 22:07:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-11-16 22:07:31 | entity: <data><node>node_r5gujd0204</node><expire-at>2022-11-17T06:07:36Z</expire-at><entry><content>content_3fqqk60208</content></entry></data>

2022-11-16 22:07:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Nov 2022 06:07:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-16 22:07:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>79179d6d-e629-41be-9582-961ad089a229</value></item-id></result>

2022-11-16 22:07:31 | contains: true

2022-11-16 22:07:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-11-16 22:07:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-11-16 22:07:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-11-16 22:07:39 | [Mutex] waiting for: [user_regular5sb5st0203@test-domain.com:message:received:content_3fqqk60208]

2022-11-16 22:07:39 | [Mutex] waiting for: [user_regular5sb5st0203@test-domain.com:message:received:content_3fqqk60208]

2022-11-16 22:07:39 | [Mutex] waiting for: [user_regular5sb5st0203@test-domain.com:message:received:content_3fqqk60208]

2022-11-16 22:07:54 | [Mutex] timeout. Not received [user_regular5sb5st0203@test-domain.com:message:received:content_3fqqk60208]

2022-11-16 22:07:54 | [Mutex] received everything.

2022-11-16 22:07:54 | [Mutex] isItemNotified: user_regular5sb5st0203@test-domain.com:message:received:content_3fqqk60208 :: false

2022-11-16 22:07:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3fqqk60208 :: true