Generated by TestNG with ReportNG at 22:46 PDT on Thursday 04 August 2022
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.531s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.650s
2022-08-04 23:01:11 |

2022-08-04 23:01:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-04 23:01:11 | ------------------------------------

2022-08-04 23:01:11 | [Mutex] isItemNotified: node_302opx0204:exists :: false

2022-08-04 23:01:11 | [Mutex] waiting for: [node_302opx0204:create_node]

2022-08-04 23:01:11 | [Mutex] received everything.

2022-08-04 23:01:11 | [Mutex] isItemNotified: node_302opx0204:create_node:success :: true

2022-08-04 23:01:11 | [Mutex] waiting for: [node_302opx0204:subscribe_node]

2022-08-04 23:01:11 | [Mutex] received everything.

2022-08-04 23:01:11 | [Mutex] isItemNotified: node_302opx0204:subscribe_node:success :: true

2022-08-04 23:01:11 |


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


2022-08-04 23:01:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-04 23:01:11 | command: <data><node>node_302opx0204</node><entry><content>content_m3g1zr0205</content></entry></data>

2022-08-04 23:01:11 | target: http://localhost:8088

2022-08-04 23:01:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-04 23:01:11 | entity: <data><node>node_302opx0204</node><entry><content>content_m3g1zr0205</content></entry></data>

2022-08-04 23:01:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Aug 2022 06:01:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-04 23:01:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c048aa29-8f63-4db5-9e22-ebfcda080997</value></item-id></result>

2022-08-04 23:01:11 | contains: true

2022-08-04 23:01:11 | [Mutex] waiting for: [user_regulartsvksi0203@test-domain.com:message:received:content_m3g1zr0205]

2022-08-04 23:01:11 | [Mutex] received everything.

2022-08-04 23:01:11 | [Mutex] isItemNotified: user_regulartsvksi0203@test-domain.com:message:received:content_m3g1zr0205 :: true

2022-08-04 23:01:11 |


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


2022-08-04 23:01:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-04 23:01:11 | command: <data><node>node_302opx0204</node><expire-at>2022-08-05T06:01:06Z</expire-at><entry><content>content_bjwmgz0206</content></entry></data>

2022-08-04 23:01:11 | target: http://localhost:8088

2022-08-04 23:01:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-04 23:01:11 | entity: <data><node>node_302opx0204</node><expire-at>2022-08-05T06:01:06Z</expire-at><entry><content>content_bjwmgz0206</content></entry></data>

2022-08-04 23:01:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Aug 2022 06:01:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-04 23:01:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>80933241-8430-4834-927c-e70f5db7c669</value></item-id></result>

2022-08-04 23:01:11 | contains: true

2022-08-04 23:01:11 | [Mutex] waiting for: [user_regulartsvksi0203@test-domain.com:message:received:content_bjwmgz0206]

2022-08-04 23:01:26 | [Mutex] timeout. Not received [user_regulartsvksi0203@test-domain.com:message:received:content_bjwmgz0206]

2022-08-04 23:01:26 | [Mutex] isItemNotified: user_regulartsvksi0203@test-domain.com:message:received:content_bjwmgz0206 :: false

2022-08-04 23:01:26 |


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


2022-08-04 23:01:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-04 23:01:26 | command: <data><node>node_302opx0204</node><entry><content>content_fbglp50207</content></entry></data>

2022-08-04 23:01:26 | target: http://localhost:8088

2022-08-04 23:01:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-04 23:01:26 | entity: <data><node>node_302opx0204</node><entry><content>content_fbglp50207</content></entry></data>

2022-08-04 23:01:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Aug 2022 06:01:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-04 23:01:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9b2d2903-d9f4-4e75-8849-fcdce1bebe09</value></item-id></result>

2022-08-04 23:01:26 | contains: true

2022-08-04 23:01:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-04 23:01:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-04 23:01:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-04 23:01:31 | [Mutex] waiting for: [user_regulartsvksi0203@test-domain.com:message:received:content_fbglp50207]

2022-08-04 23:01:31 | [Mutex] received everything.

2022-08-04 23:01:31 | [Mutex] isItemNotified: user_regulartsvksi0203@test-domain.com:message:received:content_fbglp50207 :: true

2022-08-04 23:01:31 |


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


2022-08-04 23:01:31 | [Mutex] received everything.

2022-08-04 23:01:31 | [Mutex] isItemNotified: node_302opx0204:subscribe_node:success :: true

2022-08-04 23:01:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-04 23:01:31 | command: <data><node>node_302opx0204</node><expire-at>2022-08-05T06:01:36Z</expire-at><entry><content>content_hvquuh0208</content></entry></data>

2022-08-04 23:01:31 | target: http://localhost:8088

2022-08-04 23:01:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-04 23:01:31 | entity: <data><node>node_302opx0204</node><expire-at>2022-08-05T06:01:36Z</expire-at><entry><content>content_hvquuh0208</content></entry></data>

2022-08-04 23:01:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Aug 2022 06:01:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-04 23:01:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d87b47c6-7e3a-4527-8c1c-30d65ab0575a</value></item-id></result>

2022-08-04 23:01:31 | contains: true

2022-08-04 23:01:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-04 23:01:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-04 23:01:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-04 23:01:39 | [Mutex] waiting for: [user_regulartsvksi0203@test-domain.com:message:received:content_hvquuh0208]

2022-08-04 23:01:39 | [Mutex] waiting for: [user_regulartsvksi0203@test-domain.com:message:received:content_hvquuh0208]

2022-08-04 23:01:54 | [Mutex] timeout. Not received [user_regulartsvksi0203@test-domain.com:message:received:content_hvquuh0208]

2022-08-04 23:01:54 | [Mutex] received everything.

2022-08-04 23:01:54 | [Mutex] isItemNotified: user_regulartsvksi0203@test-domain.com:message:received:content_hvquuh0208 :: false

2022-08-04 23:01:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hvquuh0208 :: true