Generated by TestNG with ReportNG at 22:46 PDT on Wednesday 27 July 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.887s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.636s
2022-07-27 23:02:02 |

2022-07-27 23:02:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-27 23:02:02 | ------------------------------------

2022-07-27 23:02:02 | [Mutex] isItemNotified: node_nlp10p0204:exists :: false

2022-07-27 23:02:02 | [Mutex] waiting for: [node_nlp10p0204:create_node]

2022-07-27 23:02:02 | [Mutex] received everything.

2022-07-27 23:02:02 | [Mutex] isItemNotified: node_nlp10p0204:create_node:success :: true

2022-07-27 23:02:02 | [Mutex] waiting for: [node_nlp10p0204:subscribe_node]

2022-07-27 23:02:02 | [Mutex] received everything.

2022-07-27 23:02:02 | [Mutex] isItemNotified: node_nlp10p0204:subscribe_node:success :: true

2022-07-27 23:02:02 |


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


2022-07-27 23:02:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-27 23:02:02 | command: <data><node>node_nlp10p0204</node><entry><content>content_n9cgqk0205</content></entry></data>

2022-07-27 23:02:02 | target: http://localhost:8088

2022-07-27 23:02:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-27 23:02:02 | entity: <data><node>node_nlp10p0204</node><entry><content>content_n9cgqk0205</content></entry></data>

2022-07-27 23:02:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jul 2022 06:02:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-27 23:02:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>925ad589-371f-4481-8b82-9c776300dcac</value></item-id></result>

2022-07-27 23:02:02 | contains: true

2022-07-27 23:02:02 | [Mutex] received everything.

2022-07-27 23:02:02 | [Mutex] isItemNotified: user_regulary0ae5c0203@test-domain.com:message:received:content_n9cgqk0205 :: true

2022-07-27 23:02:02 |


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


2022-07-27 23:02:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-27 23:02:02 | command: <data><node>node_nlp10p0204</node><expire-at>2022-07-28T06:01:57Z</expire-at><entry><content>content_a6ytzh0206</content></entry></data>

2022-07-27 23:02:02 | target: http://localhost:8088

2022-07-27 23:02:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-27 23:02:02 | entity: <data><node>node_nlp10p0204</node><expire-at>2022-07-28T06:01:57Z</expire-at><entry><content>content_a6ytzh0206</content></entry></data>

2022-07-27 23:02:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jul 2022 06:02:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-27 23:02:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c1f36e84-b097-4d89-97c2-4424d0152137</value></item-id></result>

2022-07-27 23:02:02 | contains: true

2022-07-27 23:02:02 | [Mutex] waiting for: [user_regulary0ae5c0203@test-domain.com:message:received:content_a6ytzh0206]

2022-07-27 23:02:17 | [Mutex] timeout. Not received [user_regulary0ae5c0203@test-domain.com:message:received:content_a6ytzh0206]

2022-07-27 23:02:17 | [Mutex] isItemNotified: user_regulary0ae5c0203@test-domain.com:message:received:content_a6ytzh0206 :: false

2022-07-27 23:02:17 |


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


2022-07-27 23:02:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-27 23:02:17 | command: <data><node>node_nlp10p0204</node><entry><content>content_tg0suh0207</content></entry></data>

2022-07-27 23:02:17 | target: http://localhost:8088

2022-07-27 23:02:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-27 23:02:17 | entity: <data><node>node_nlp10p0204</node><entry><content>content_tg0suh0207</content></entry></data>

2022-07-27 23:02:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jul 2022 06:02:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-27 23:02:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a50ab52b-523b-4ad7-b26c-c56efa787d4d</value></item-id></result>

2022-07-27 23:02:17 | contains: true

2022-07-27 23:02:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-27 23:02:22 | [Mutex] waiting for: [user_regulary0ae5c0203@test-domain.com:message:received:content_tg0suh0207]

2022-07-27 23:02:22 | [Mutex] waiting for: [user_regulary0ae5c0203@test-domain.com:message:received:content_tg0suh0207]

2022-07-27 23:02:22 | [Mutex] received everything.

2022-07-27 23:02:22 | [Mutex] isItemNotified: user_regulary0ae5c0203@test-domain.com:message:received:content_tg0suh0207 :: true

2022-07-27 23:02:22 |


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


2022-07-27 23:02:22 | [Mutex] received everything.

2022-07-27 23:02:22 | [Mutex] isItemNotified: node_nlp10p0204:subscribe_node:success :: true

2022-07-27 23:02:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-27 23:02:22 | command: <data><node>node_nlp10p0204</node><expire-at>2022-07-28T06:02:27Z</expire-at><entry><content>content_sw05sb0208</content></entry></data>

2022-07-27 23:02:22 | target: http://localhost:8088

2022-07-27 23:02:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-27 23:02:22 | entity: <data><node>node_nlp10p0204</node><expire-at>2022-07-28T06:02:27Z</expire-at><entry><content>content_sw05sb0208</content></entry></data>

2022-07-27 23:02:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jul 2022 06:02:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-27 23:02:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f5112df7-143b-40f9-a417-61228e42d6de</value></item-id></result>

2022-07-27 23:02:22 | contains: true

2022-07-27 23:02:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-27 23:02:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-07-27 23:02:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-27 23:02:31 | [Mutex] waiting for: [user_regulary0ae5c0203@test-domain.com:message:received:content_sw05sb0208]

2022-07-27 23:02:31 | [Mutex] waiting for: [user_regulary0ae5c0203@test-domain.com:message:received:content_sw05sb0208]

2022-07-27 23:02:46 | [Mutex] timeout. Not received [user_regulary0ae5c0203@test-domain.com:message:received:content_sw05sb0208]

2022-07-27 23:02:46 | [Mutex] received everything.

2022-07-27 23:02:46 | [Mutex] isItemNotified: user_regulary0ae5c0203@test-domain.com:message:received:content_sw05sb0208 :: false

2022-07-27 23:02:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sw05sb0208 :: true