Upload JSON Collection from Postman in XRay - json

I had excecuted a succesfull collection from Postman in Jenkins, and also from Git hub, but i dont know the structure for make that collection appear in xray, i already have all the credentials.
I know that in Xray there are formats but i dont get where should be updated and matched with my project
I tried mixing my project with the xray format, im expecting seeing the test cases in Xray

Related

How can I re-import DeliveryAPI result in kentico kontent

I want to try kontent-sample-blog-travel-vue project in github, and it has JSON contents under 'sample-data' directory in Delivery API format.
I made my new Kontent project, and try to use ManagementAPI to import json, but it becomes error because of wrong JSON format.
Please tell me how can I re-import JSON, which exported in Delivery API format.
you are right, to import data from Delivery API to Management API, you need to make the transformations.
I have started with the pull request, which should guide people on how to import data using backup manager CLI, or via template manager UI.
Once the pull request is merged, I will update this answer.
EDIT:
OK, the pull request is closed and now the Vue travel blog sample site is ready to be used as a template.
In the readme, you can find instructions on how to create your own Kontent project as data source.
If you have any more questions/issues, feel free to submit an issue (or pull request) right in the repository.
This repository was also submitted as one of the templates in the Kontent template manager.

Send Multiple JSON Files from Directory to a REST API with JMETER

I'm really struggling with getting Jmeter to work with sending multiple json files in Jmeter to a REST API. I have tried other questions on stack and tutorials online and none of them answer my specific requirement.
My requirement is that I will have various json messages saved to a file directory and I'm trying to use JMeter to loop through the folder, pick up the json's and pop it into a HTTP request one at a time i.e. one file = one request and view the result.
Does any one know how to do this?
The easiest solution would be:
Directory Listing Config plugin to read file names into a JMeter Variable
__FileToString() function to read the file content

How do I use Pentaho spoon to push data from MySQL database to facebook webpage

1) I have already made transformation mapping for getting data from specific MySQL (Table Input) and convert it as Text File output.
2) Also I have created a facebook developer account page and trying to figure out how the Facebook API works to push data from MYsql to facebook.
3) would appreciate if transformation mapping can be provided. Also I would not like to use XML, instead I would like to use JSON.
Already the msql table is converted to csv file, but I am not sure how to post the csv file to facebook or is there a way to connect mysql table to facebook directly. Please share your ideas or transformation mapping. Thanks
I would Assuemm you are familiar with Facebook Development API to do all actions like post,get and so on.
You have a step called "REST CLIENT STEP" in Pentaho.
you will have an API url to post the data that you want from mySQL. There several methods GET PUT POST DELETE
Also set the Application Format to Json (XML,JSON etc).
I used to read data from FB using REST Client by using GET Method. Work around.

Read properties file with JSON format

I have a Java code using selenium where I have a properties file which is in JSON format with multiple values and I want to use that file in Jenkins. For that I am using "This project is parameterized" option where I am selecting "File parameters" option.
So My question is How to use the JSON format in Jenkins? Am I doing is correct and what changes we have to make in code for that?
Can anyone help on this?
The "File parameters" is not working in the way you think, it is not like Jenkins will parse file and give you something like key/value map - no.
What is it doing is follwoing , you basically upload file and then how you use it is up to you, so in other words, if that file is for you java code, set the path for that file using the JVM params (e.g. -DpropertiesFilePath = ${abc.xyz}) and then Jenkins will parse the ${abc.xyz} for you and you java code will have proper path to file.
Otherwise, if you want to use the properties inside that JSON file itself for jenkins job configuration needs, then you have to write Jenkins job using either DSL or Jenkinsfile, in which having full access to file you can use for example JsonSlupper and parse Json file and assign properties to stages or whatever you need in Jenkins job walkthrow.

Is it possible to generate swagger.json with out deploying the application?

I'm a beginner in swagger and by following the documentation I'm able to generate swagger.json (swagger definition in json schema format) and also able to view that in swagger-ui.
But currently I'm able to access my json schema file only after deploying my application(It is getting generated under the base path I have given in web.xml).
Is there anyway to get it without deploying the application? Because each time when I want to re-check the documentation after a change has done, I have to deploy my application. It would be better if we have any offline method.
Thanks.