How To Fetch sessionId using IronPython script in Spotfire? - spotfire

I'm building a customized log for my Spotfire dashboard and would like to know if there is a way of getting the sessionId (the one we get in the actionlog log) using IronPython.
Thanks

Related

Import data from Web Page Power Query

I wanted to get table from Webpage "https://www.nseindia.com/companies-listing/corporate-filings-actions" using Power Query. So i have used this link as API "https://www.nseindia.com/api/corporates-corporateActions?index=equities".
But When I Tried using Data Tab > Get Data > From Web. I have tried using both of above link. But unable to fetch data.Pop Up Box hangs excel
am I trying wrong way?
Can you suggest me a correct way?
Not able to do the process

Best way to store response back into NetSuite?

I am a newbie in NetSuite. I am currently consuming a saved search via RESTlet in my C# code, pushing it forward to a wsdl and also receiving a response from the same. Now I want to save the response in NetSuite as well, possibly along with the Transaction list records from which I have created the Saved Search.
Please guide me towards what might be the best approach.
You can always view the repsonse/request in Setup > Integration > SOAP Web Services Usage Log. They are already saved as records, you just need to query them

Export Azure Application Insights with REST API for search term

I have a requirement where I need to search a particular term in App insights and then export this 'report' and send it in the email. Consider this as "report a bug" use case.
So if I search key "xxxxxx123", it should retrieve all matching traces/logs and then export it to either excel or CSV.
So my question is, is it possible with the NuGet package or even with REST API?
I tried looking at this, but couldn't find it helpful,
dev.applicationinsights.io/apiexplorer
There is no nuget package. You can do it by using the Get query rest api.
Write any query you need in the Query textbox, then in the right side, you can see the generated request. Then you can use c# or other programming language to query the results, as per this article.(Note: remember use your real Application ID and API Key).
Add a screenshot for your reference:
After fetch the data, you should write your own logic to export it to csv or excel.

Update a web page using socket.io when database is updated by another page

I'm starting playing with NodeJS and Socket.IO and I've got a question regarding communication between pages of my application.
I've got a Node JS script (get_new_data) which is periodicaly executed using a cron task. This script will get information through Internet, parse them and write them in a PG Database. This is ok.
I've got a secondary script (show_last_data) using Node/Express/Socket.io that displays the last information of the DB when it is executed. This is also ok, right now.
What I would like now, is that the script show_last_data would be notified when new data are inserted in the database and the corresponding display divs to be updated.
Can get_new_data connect to show_last_data even if it is not the server that produces the page ? Or should I manage this in another way ?
Thanks for help
I've finally found a way to manage this using socket.io-client.
This page was particulary helpful to solve my question : socket.io as a client

jmeter auto create user/password account

I'm trying to use jmeter to simulate 500 usernames/passwords being created on a test site I have. The home page has 3 fields, username,email address, and password. How can I get jmeter to auto-fill those fields?
The next question is can jmeter then go to the next page and fill in credit information for example?
One thing to note here is JMeter is not like QTP / Selenium. It is not a pure functional testing tool.
However, It can be used for functional testing when you know how to use it!
For your question,
Record the http requests for creating the user and entering the credit information. Check this for more information. http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf
Then update the recorded scripts to parameterize the username, password email etc
Then you can update the loop count to rerun it again and again to create the data you want to create
JMeter is an excellent tool for performance testing, functional testing and for creating test data etc.
JMeter has possibility to use either external pre-defined data or generate some random values.
To use existing username/password/email combinations there are following options:
CSV Data Set Config- to read information from CSV files
JDBC PreProcessor - to fetch information from any database which supports JDBC protocol
StringFromFile - to read a string from file
CSVRead - similar to CSV Data Set Config
RandomString - to generate a random string
In regards to "go to the next page", it is also possible given that you have a HTTP Cookie Manager
Remember that JMeter acts on protocol level so you'll need to properly construct HTTP Requests.
The best way to trace execution and visualize requests/responses is using View Results Tree listener.

Resources